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-9916) SJMS component is not currently nodev/XML route compatible
Date Thu, 28 Apr 2016 11:34:12 GMT

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

Claus Ibsen commented on CAMEL-9916:
------------------------------------

You need to configure a custom ConnectionResource to share the pool across multiple camel
contexts. And then also this fix that do not close the pool when using a custom connection
resource, as then you are responsible for its lifecycle.
https://github.com/apache/camel/blob/master/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsComponent.java#L119

> SJMS component is not currently nodev/XML route compatible
> ----------------------------------------------------------
>
>                 Key: CAMEL-9916
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9916
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-sjms
>            Reporter: Catalina-Alina Dobrica
>
> SJMS component is currently not friendly for XML route usage because:
> * You need a component instance which has been "activated" - has had a connection factory
set.
> * On route restart, the component cannot be reused because the underlying pool is closed
and not recreated



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

Mime
View raw message