Can a Bundle be started when the JMS endpoint is down ?
Issue
-
We have a
JMSComponent
bean with id"jmsIn"
that will use a connection factory to connect to a remote Weblogic queue. We do the remote JNDI lookup of the connection factory with the Spring components (org.springframework.jndi.JndiObjectFactoryBean
) within a blueprint context. -
When the remote Weblogic server is down the endpoint cannot be resolved. This causes the route to fail on startup.
-
In the The exception tree following kind of error can be seen in the
"fuse.log"
:
org.osgi.service.blueprint.container.ComponentDefinitionException
>> Caused by: org.apache.camel.NoSuchBeanException
>> >> Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException
>> >> >> Caused by: org.apache.camel.ResolveEndpointFailedException Failed to resolve endpoint: jmsIn://queue:DummyJMSServer/DummyModule-0!DummyQueue due to: No component found with scheme: jmsIn
Environment
- Red Hat JBoss Fuse
- 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.