@@ -111,8 +111,8 @@ private void deployEndpointsForHTTPConnection(OMElement artifactConfig, String f
111
111
artifactConfig .getFirstChildWithName (
112
112
new QName (SynapseConstants .SYNAPSE_NAMESPACE , HTTP_CONNECTION_IDENTIFIER ));
113
113
if (httpInitElement != null ) {
114
- OMElement documentElement = generateHTTPEndpointOMElement (httpInitElement );
115
- deployHTTPEndpointForElement (documentElement , fileName , properties );
114
+ OMElement generatedEndpointElement = generateHTTPEndpointOMElement (httpInitElement );
115
+ deployHTTPEndpointForElement (generatedEndpointElement , fileName , properties );
116
116
}
117
117
}
118
118
@@ -127,24 +127,24 @@ private void deployHTTPEndpointForElement(OMElement documentElement, String file
127
127
ep .setFileName ((new File (fileName )).getName ());
128
128
if (log .isDebugEnabled ()) {
129
129
log .debug ("Endpoint named '" + ep .getName ()
130
- + "' has been built from the file " + fileName );
130
+ + "' has been built from the http connection file " + fileName );
131
131
}
132
132
ep .init (getSynapseEnvironment ());
133
133
if (log .isDebugEnabled ()) {
134
134
log .debug ("Initialized the endpoint : " + ep .getName ());
135
135
}
136
136
getSynapseConfiguration ().addEndpoint (ep .getName (), ep );
137
137
if (log .isDebugEnabled ()) {
138
- log .debug ("Endpoint Deployment from file : " + fileName + " : Completed" );
138
+ log .debug ("Endpoint Deployment from the http connection file : " + fileName + " : Completed" );
139
139
}
140
140
log .info ("Endpoint named '" + ep .getName ()
141
- + "' has been deployed from file : " + fileName );
141
+ + "' has been deployed from the http connection file : " + fileName );
142
142
} else {
143
143
handleSynapseArtifactDeploymentError ("Endpoint Deployment Failed. The artifact " +
144
- "described in the file " + fileName + " is not an Endpoint" );
144
+ "described in the http connection file " + fileName + " has filed to describe an Endpoint" );
145
145
}
146
146
} catch (Exception e ) {
147
- handleSynapseArtifactDeploymentError ("Endpoint Deployment from the file : "
147
+ handleSynapseArtifactDeploymentError ("Endpoint Deployment from the http connection file : "
148
148
+ fileName + " : Failed." , e );
149
149
}
150
150
}
0 commit comments