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] [Commented] (CAMEL-9267) camel-nats - A java client component for the nats broker
Date Tue, 19 Jan 2016 09:13:39 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106463#comment-15106463
] 

Claus Ibsen commented on CAMEL-9267:
------------------------------------

Andrea, I would assume we should un-subscribe here
https://github.com/apache/camel/blob/e50136b7d9ed6f217346ec4a6b4f13e2fa17e52b/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsConsumer.java#L66

You get back the id when you subscribe. I think you need to call the unsubscribe method with
that id in the doStop method. And put that in a try .. catch block so the thread pool is also
stopped.

> camel-nats - A java client component for the nats broker
> --------------------------------------------------------
>
>                 Key: CAMEL-9267
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9267
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Ibsen
>            Assignee: Andrea Cosentino
>             Fix For: 2.17.0
>
>
> It would be good with a camel-nats component that uses the java client to be able to
send / consume from nats
> The client is here:
> https://github.com/tyagihas/java_nats
> And more about nats
> http://nats.io/



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

Mime
View raw message