camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Kampf <>
Subject Re: Active MQ; Put Soap Request in Active MQ and get back SOAP response
Date Thu, 20 Apr 2017 19:17:55 GMT
When sending the message to the Queue you must change your exchange pattern to InOnly.  Once
you do that, the message will go onto the queue and the next step in your route will be executed.
 Your Exchange pattern below is InOut, so your route is waiting for a reply from JMS before
continuing to the next step in the route.


On 4/18/17, 8:53 AM, "Ancil hameed" <> wrote:

    I working on JBoss Fuse, I want to put my SOAP request in Active MQ Queue.
    After putting SOAP request in Queue I want a response sent back to my SOAP
    Sample Code snippet: Below is my camel context, i have replace < > with ( )
    (cxf:cxfEndpoint    address="http://localhost:8181/cxf/hello"
    id="SOAPInput" serviceClass=""/)
    (bean class="" id="soapResProcessor"/) 
    (camelContext id="camelContext" 
    (route id="route1" streamCache="true")
    (from id="sampleFrom" uri="cxf:bean:SOAPInput?
    (when id="whenBatch")
    'DEST_NAME='), "Sample")(/xpath)`enter code here`
    (to id="toSampleQ" uri="activemq:queue:SAMPLEQ?jmsMessageType=Text"/)
    (process id="soapResProcess" ref="soapResProcessor"/)
    View this message in context:
    Sent from the Camel - Users mailing list archive at

View raw message