Hi,
You are setting the http endpoint to be bridgeEndpoint which means the
request url will be updated with request URI.
If you don't need that you can remove the option of bridgeEndpoint.
On Tue Jun 12 22:27:27 2012, pchakinala wrote:
Hi,
We are using SMX 4.4 and Camel 2.8.3. Process flow defined below
http client --->camel-http--> jms queue provider ---> queue consumer --->
http ---> target service
<endpoint id="VendorAsyncQueue"
uri="jms:queue:VendorAsyncQueue?transacted=true&deliveryPersistent=true"/>
<route>
<from uri="jetty:http://0.0.0.0:8192/AsyncReq/"/>
<setExchangePattern pattern="InOnly"/>
<to uri="VendorAsyncQueue"/>
</route>
<route>
<from uri="jms:queue:VendorAsyncQueue"/>
<to
uri="http://localhost:8080/nipr.jsp?bridgeEndpoint=true"/>
</route>
After consuming the message from queue,it should send it to target http
service.
However observed http endpoint value is replacing at run time.
http://localhost:8080/nipr.jsp/AsyncReq/
Here attached log file for your reference. Please update why http uri value
is replacing at runtime.
http://camel.465427.n5.nabble.com/file/n5714372/servicemix.log
servicemix.log
http://camel.465427.n5.nabble.com/file/n5714372/beans.xml beans.xml
Regards,
Praveen Chakinala
--
View this message in context:
http://camel.465427.n5.nabble.com/jms-to-http-tp5714372.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang