[ https://issues.apache.org/jira/browse/CAMEL-9916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261779#comment-15261779 ]
Claus Ibsen commented on CAMEL-9916: ------------------------------------ How do you setup the connection pool? Ideally you need to setup an init/destroy method so its lifecycle is properly handled There is a little example how for ActiveMQ http://camel.apache.org/activemq > 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)