[
https://issues.apache.org/jira/browse/CAMEL-9916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261923#comment-15261923
]
Claus Ibsen commented on CAMEL-9916:
------------------------------------
Ah okay so when you restart then the custom component you added manually has
been cleared, and therefore you need to add it back again.
{code}
// restart
context.stop();
// must add our custom component back again
context.addComponent("sjms", sjmsComponent);
context.start();
{code}
> 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)