[
https://issues.apache.org/jira/browse/CAMEL-9916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261772#comment-15261772
]
Catalina-Alina Dobrica commented on CAMEL-9916:
-----------------------------------------------
What I actually should have said is "on context restart".
If you stop only the routes and restart them, the pool is not closed, but in
the use-case where I needed the feature, the entire context is restarted (by
stop then start) when you want to restart a route, which causes the component
to restart and it's pool to be closed.
> 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)