camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Accessing FUSE MQ Enterprise Messaging broker
Date Wed, 04 Sep 2013 13:03:34 GMT
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 <contactreji@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message