you have to figure out the host/port for the internally running broker. or,
better yet, use the vm:// protocol. So you'll have different connection
factories (and components) for the broker in the ESB and any external
brokers.


On Wed, Sep 4, 2013 at 4:25 AM, contactreji <contactr...@gmail.com> wrote:

> 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.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to