Test with latest code, which you can build yourself
http://camel.apache.org/building

And build an example project / unit test to reproduce the issue. You
can put the sample project on github etc for easy to try for others.

On Thu, Apr 21, 2016 at 5:04 PM, arunkabraham <arunk2...@gmail.com> wrote:
> I am using camel-rx to observe some messages from Active MQ. After I complete
> the subscription I am getting onCompleted() event also. But If I look in
> Active MQ console, I can still see the consumer live. How to release this
> connection once subscription is over? Is it an issue with Camel?
>
> Code :
>
> ReactiveCamel rx = new ReactiveCamel(camel);
>
> Observable<Message> observable1 = rx.toObservable("activemq:queue:Output
> Queue - 01?selector=JMSCorrelationID%3D'"+ uuid + "' AND
> eventType%3D'cust_msg'");
>
> observable1.first().subscribe(new Subscriber<Message>()
> {
> // implementing methods here
> }
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/RXCamel-is-not-releasing-the-ActiveMQ-connection-once-the-subscription-is-complete-tp5781482.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to