Can a Bundle be started when the JMS endpoint is down ?

Solution In Progress - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.