Fuse Service Works restarts sometimes fail with NoSuchBeanException for activemq/ConnectionFactory
Issue
- I have 3 SwitchYard applications deployed. When restarting the server, sometimes I see the following error about one of the application and it does not deploy correctly.
Caused by: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: activemq/ConnectionFactory of type: javax.jms.ConnectionFactory
at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:141)
at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:320)
at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:302)
at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:304)
at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:283)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:503)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:469)
... 24 more
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
