camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9894) RXCamel is not releasing the ActiveMQ connection once the subscription is complete
Date Thu, 21 Apr 2016 13:26:25 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-9894.
--------------------------------
    Resolution: Invalid
      Assignee: Claus Ibsen

Use the mailing list / user forum to get help

> RXCamel is not releasing the ActiveMQ connection once the subscription is complete
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-9894
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9894
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rx
>    Affects Versions: 2.17.0
>            Reporter: Arun
>            Assignee: Claus Ibsen
>            Priority: Critical
>
> 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?
> 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>() {
> 					
> // methods here
> 					
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message