I've changed the last route within the camelcontext like this :

                
                <camel:route>
                        <camel:from
uri="jbi:endpoint:http://www.mycompany.com/upload/mediator-upload-route/endpoint";
/>
                        <camel:to
uri="jbi:endpoint:http://www.mycompany.com/xpert/mediator/service/MediatorWS/MediatorService?mep=in&amp;operation={http://www.mycompany.com/xpert/mediator/service}uploadMediator";
/>
                </camel:route>

Within the wrapper.log I can see the following lines

INFO   | jvm 1    | 2012/09/16 13:41:03 | DEBUG - DefaultCamelContext           
-
jbi://endpoint:http://www.mycompany.com/upload/mediator-upload-route/endpoint
converted to endpoint:
Endpoint[endpoint:http://www.mycompany.com/upload/mediator-upload-route/endpoint]
by component: org.apache.servicemix.camel.JbiComponent@15dbe2e
INFO   | jvm 1    | 2012/09/16 13:41:03 | DEBUG - DefaultManagementAgent        
- Registered MBean with objectname:
org.apache.camel:context=vm/camel-19,type=endpoints,name="endpoint:http://www.mycompany.com/upload/mediator-upload-route/endpoint";
INFO   | jvm 1    | 2012/09/16 13:41:03 | DEBUG - SimpleLanguage                
- Expression is evaluated as simple (non strict) expression: body
INFO   | jvm 1    | 2012/09/16 13:41:03 | DEBUG - DefaultCamelContext           
-
jbi://endpoint:http://www.mycompany.com/xpert/mediator/service/MediatorWS/MediatorService?mep=in&operation=%7Bhttp%3A%2F%2Fwww.mycompany.com%2Fxpert%2Fmediator%2Fservice%7DuploadMediator
converted to endpoint:
Endpoint[endpoint:http://www.mycompany.com/xpert/mediator/service/MediatorWS/MediatorService]
by component: org.apache.servicemix.camel.JbiComponent@15dbe2e
INFO   | jvm 1    | 2012/09/16 13:41:03 | DEBUG - DefaultManagementAgent        
- Registered MBean with objectname:
org.apache.camel:context=vm/camel-19,type=endpoints,name="endpoint:http://www.mycompany.com/xpert/mediator/service/MediatorWS/MediatorService";
INFO   | jvm 1    | 2012/09/16 13:41:03 | DEBUG - DefaultCamelContext           
- Warming up route id: route61 having autoStartup=true

So it looks like this all is OK ... but is still not working ( same
exception )



--
View this message in context: 
http://camel.465427.n5.nabble.com/javax-jbi-messaging-MessagingException-Could-not-find-route-for-exchange-tp5719417p5719429.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to