camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SteveC <steve.chap...@nz.unisys.com>
Subject VM Queues Disconnected after Karaf Bundle Update
Date Fri, 08 Feb 2013 10:13:57 GMT
I have 2 camel routes, each deployed in separate bundles to Fuse ESB
(7.0.0.fuse-061).

Route 1 accepts text via HTTP and send it to a vm queue, e.g. <to
uri="vm:TestQ"/>

Route 2 accepts input from the vm queue, e.g.. <from uri="vm:TestQ"/>, and
logs a msg.

Each route is deployed in a Karaf feature and they function correctly on
initial deployement, i.e. I can send a msg via HTTP to route1 and it is
passed to route 2 via the vm queue.

When I use the Karaf console Bundles page to update the bundle for either or
both bundles they stop and restart with no apparent errors but from then on
the vm queues are disconnected, e.g. I can send a msg via HTTP to route1 and
it sends the msg to the vm queue, but route 2 never sees the msg arrive from
the vm queue and eventually the exchange times out in route 1 (using InOut
MEP). 

Once in this state the only way to get the routes to link via the vm queue
again is to either bounce Fuse ESB or to uninstall/install the associated
features.

I've tried adding some options to see if behaviour will change but no joy -
tried pollTimeout and concurrentConsumers.

The only reason for the bundle update is to bounce in new configuration, it
is frustrating having to bounce Fuse ESB just to update the config for a
single bundle.

I've tried replacing the VM component with JMS i.e. using JMS queues, and
the behaviour is as expected without any problem.

Advice anyone?

Thanks
Steve



--
View this message in context: http://camel.465427.n5.nabble.com/VM-Queues-Disconnected-after-Karaf-Bundle-Update-tp5727205.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message