Description
Unable to connect pooledConnectionFactory configured in EAP with camel-sjms and camel-sjms2. The pooledConnectionFactory is configured according the instructions in EAP 7.1 documentation for connecting to external AMQ-7. To configure camel-sjms, I followed instruction in camel-sjms documentations Plugable Connection Resource Management. The instructions are same in FUSE 6.3 documentation and also in camel-sjms2. I attached reproducer. Not sure how to implement ConnectionResource interface in order to get it working.
If I create my own connectionFactory instance, everything works. However, certification against AMQ-7 dictates EAP 7.1 documentation. So I think we shouldn't create our own instances of connectionFactory in EAP environment.
15:32:51,382 ERROR [org.apache.camel.component.sjms.SjmsConsumer] (MSC service thread 1-2) Unable to create the MessageConsumer: javax.jms.IllegalStateException: This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6
It also applies for karaf and pooledConnectionFactory created by karaf jms command.
Attachments
Issue Links
- is related to
-
ENTESB-7953 Support camel-jms options that doesn't work because of EAP's pooledConnectionFactory
-
- Closed
-
-
ENTESB-8049 Unable to setup credentials on SJMSBatchComponent in camel-sjms
-
- Closed
-
- relates to
-
ENTESB-7946 Durable Subscriber pattern does not work with the external AMQ-7
-
- Closed
-