Hi all

Can someone guide me how can we send message to queue in FUSE MQ Enterprise.
Whats the camel code for it?
I am doing it as follows

<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent">
                <property name="brokerURL" value="tcp://:localhost:61616" />
        </bean>

<route>
        <from uri="file:D:\inputFolder"/>
        <convertBodyTo type="java.lang.String"/>
        <to uri="activemq:queue:REQUEST_QUEUE"/>
        <log message="Sent ${body} to REQUEST_QUEUE"/>
    </route>


I was doing the same code  for ActiveMQ run as separate instance.


But now I want to send to Internal Instance of MQ runnig in FUSE ESB itself.
It doesnt seem to be working though the route starts, the program is doing a
rollback after exhaustive attempt to deliver the message.




Can someone post a code ..

Reji



--
View this message in context: 
http://camel.465427.n5.nabble.com/Accessing-FUSE-MQ-Enterprise-Messaging-broker-tp5738667.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to