Red Hat Bugzilla – Bug 831530
Camel JCR gateway can't lookup for ModeShape repository
Last modified: 2018-01-30 15:39:04 EST
Created attachment 591410 [details]
Camel JCR Gateway reproducer
When you try use camel-jcr component, the deployment of application fails because Camel can't lookup for ModeShape repository in Camel Context and fails with:
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route4: Route[[From[jcr://admin:admin@eds]] -> [To[jbossesb://servic... because of Failed to resolve endpoint: jcr://admin:admin@eds due to: No JCR repository defined under 'eds'
'eds' repository is default JCR repository in SOA-P platform.
Steps to reproduce:
1. Start server
2. Unzip reproducer to quickstarts directory
3. Configure quickstarts.properties to target your server profile
4. from camel_jcr directory run: ant deploy
Full deployment exception and reproducer is attached.
Also adding Tom to CC, because he was dealing with other Camel Gateway bugzillas I've reported.
Created attachment 591411 [details]
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
The Camel JCR gateway cannot perform a lookup for the ModeShape repository. When a user attempts to the use camel-jcr component, the deployment of the application fails because Camel can't lookup the ModeShape repository in Camel Context. As a result, the operation fails.