camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: soap over jms
Date Fri, 20 Jul 2012 06:32:33 GMT
I think your problem is related to IBM MQ. Can you try to run the exmple 
with activemq first?

Maybe you need to use a fixed reply queue with the IBM broker.

Christian

Am 20.07.2012 07:15, schrieb bhushand:
> Hello Willem
>             As I am trying to run example shared by Christian, all
> configuration are from that files. Please find below configurations
> For server:
> <jaxws:endpoint address="camel://direct:greeterServerEndpoint"
> 		id="server"
> 		implementor="#greeterImpl"
> 		endpointName="s2:JMSGreeterPortType" serviceName="s2:JMSGreeterService"
> 		xmlns:s2="http://examples/jms-greeter" />
> 		
> <bean id="greeterImpl"
> class="main.java.demo.jms_greeter.server.GreeterJMSImpl"/>
>
> & route is
>
> <route>
> 	<from uri="jms:MyQueueName?exchangePattern=InOnly" />
> 	<to uri="direct:greeterServerEndpoint" />
> 	
> 	<setHeader headerName="SOAPJMS_contentType">
> 		<constant>text/xml</constant>
> 	</setHeader>
> 	<setHeader headerName="SOAPJMS_requestURI">
> 		<constant>jms://queue:MyQueueName</constant>
> 	</setHeader>
> </route>
>
> For Client:
> <jaxws:client id="greeterProxy"
> address="camel://direct:greeterClientEndpoint"
> 		endpointName="s2:JMSGreeterPortType" serviceName="s2:JMSGreeterService"
> 		xmlns:s2="http://examples/jms-greeter"
> 		serviceClass="main.java.examples.jms_greeter.JMSGreeterPortType" />
> 		
> <bean id="client" class="main.java.demo.jms_greeter.client.Client">
> 	<property name="greeter" ref="greeterProxy" />
> </bean>
>
> route is as follow,
> <route>
> 	<from uri="direct:greeterClientEndpoint" />
> 	<setHeader headerName="SOAPJMS_contentType">
> 		<constant>text/xml</constant>
> 	</setHeader>
> 	<setHeader headerName="SOAPJMS_requestURI">
> 		<constant>jms://queue:MyQueueName</constant>
> 	</setHeader>
> 	<to uri="jms:MyQueueName?exchangePattern=InOnly" />
> </route>
>
>
> Here I am running client & getting previous error. From configuration my
> understanding is, When client is executed it will place message over queue
> then it will call server impl class. If  I am wrong, please correct me.
>
>
> --Thanks
>       Bhushan
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/soap-over-jms-tp5715942p5716279.html
> Sent from the Camel - Users mailing list archive at Nabble.com.


-- 
  
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Mime
View raw message