xml file which will build all the sub projects in a single go. To build the entire
sample, change directory to this folder and execute ant as follows:
cd ch11\WebServiceInJmsChannel
ant
XBean-based servicemix-jms Binding
For XBean-based deployment of servicemix-jms, our xbean.xml file looks like
the following:
xmlns:test="http://AxisEndToEnd.axis.apache.binildas.com">
.
class="org.apache.activemq.ActiveMQConnectionFactory">
endpoint="myConsumer"
role="consumer"
soap="true"
targetService="test:pipeline"
defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
destinationStyle="queue"
jmsProviderDestinationName="queue/A"
connectionFactory ="#connectionFactory" />
endpoint="myProvider"
role="provider"
soap="true"
destinationStyle="queue"
jmsProviderDestinationName="queue/B"
connectionFactory="#connectionFactory" />
Access Web Services Using the JMS Channel
[ 212 ]
Perhaps, you might have noticed the fact that for the above consumer role the
targetService is not the actual web service, but a pipeline which is explained next.
Pages:
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300