9 Replies Latest reply on Jul 8, 2011 4:22 AM by ffang

    Could not dispatch exchange. No matching endpoints- Router Java DSL

    atodaro

      Hi to all.

      I did my router in camel-contex.xml and it works:

       

       

      If i do the same route in Java DSL i have an error message:

      camel-context.xml:

            

       

      Java Class:

       

      public class ServerRoutes extends RouteBuilder {

            

           public void configure() {

                System.out.println("ServerRoutes.configure()");

                from("jbi:endpoint:http://servicemix.apache.org/samples/bridge/pipeline/endpoint")

                     .to("xslt:bridge.xslt")

                          .choice()

                               .when()

                                    .xpath("/Customer/url = 'application1'")

                                         .to("jbi:endpoint:http://servicemix.apache.org/samples/bridge/httpProv/endpointB")

                               .otherwise()

                                         .to("jbi:endpoint:http://servicemix.apache.org/samples/bridge/httpProv/endpointB");

           }

      }

       

      xbean.xml (HTTP):

      <http:endpoint service="b:http" endpoint="endpoint"

                targetService="b:pipeline" role="consumer" locationURI="http://0.0.0.0:8192/bridge/"

                defaultMep="http://www.w3.org/2004/08/wsdl/in-out">

           </http:endpoint>

       

                <http:endpoint service="b:httpProv" endpoint="endpointB"

                     role="provider" locationURI="http://ip:8181/cxf/crm/customerservice/customers" />

       

      pom.xml:

       

       

      Error:

      09:51:14,400 | WARN  | 2@qtp-31765821-1 | NMR                              | 81 - org.apache.servicemix.nmr.core - 1.4.0.fuse-01-15 | Error processing exchange [

        id:        827e0cf3-2c4a-4eb8-a28d-deca874de510

        mep:       InOnly

        status:    Active

        role:      Consumer

        target:    PropertyMatchingReference[{SERVICE_NAME={http://servicemix.apache.org/samples/bridge}pipeline}]

        properties: [

            org.apache.servicemix.senderEndpoint = http:endpoint

            javax.jbi.messaging.MessageExchange = org.apache.servicemix.jbi.runtime.impl.InOnlyImpl@19af1f7

            javax.jbi.messaging.sendSync =

            org.apache.servicemix.correlationId = 827e0cf3-2c4a-4eb8-a28d-deca874de510

            javax.jbi.ServiceName = pipeline

        ]

      ]

       

      org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch exchange. No matching endpoints.

       

      Thank you for helping me

        • 1. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
          ffang

          Hi,

           

          Given the spring dsl and java dsl are actually same, the spring one works but java one doesn't, I think you need check if your java dsl launched correctly, maybe put some simple route there, like just print out a log.

           

          Freeman

          • 2. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
            atodaro

            In the log file there is:

             

            11:48:22,535 | INFO  | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found 13 @Converter classes to load

            11:48:22,550 | INFO  | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found 1 @Converter classes to load

            11:48:22,550 | INFO  | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found 1 @Converter classes to load

            11:48:22,582 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Total 0 routes, of which 0 is started.

            11:48:22,582 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Apache Camel 2.6.0-fuse-01-15 (CamelContext: 167-camel-80) started in 0.094 seconds

            11:48:22,582 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Service unit deployed

            11:48:22,582 | INFO  | use-01-15/deploy | ServiceAssemblyImpl              | 93 - org.apache.servicemix.jbi.deployer - 1.4.0.fuse-01-15 | Changing SA state to Stopped

            11:48:22,582 | DEBUG | use-01-15/deploy | HttpComponent                    | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Initializing service unit

            11:48:22,582 | DEBUG | use-01-15/deploy | HttpComponent                    | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Retrieving proxied endpoint definition

            11:48:22,582 | DEBUG | use-01-15/deploy | HttpComponent                    | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Could not retrieve endpoint for targetService

            11:48:22,582 | DEBUG | use-01-15/deploy | HttpComponent                    | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Could not retrieve endpoint for service/endpoint

             

            so i think java DSL is not correctly lunched.

             

            what did I miss??

            • 3. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
              davsclaus

              Can you try using  that is your route builder class.

              • 4. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
                ffang

                Hi,

                 

                Yeah, seems the JAVA DSL not get loaded at all.

                Some questions

                1. What's the exact FUSE version you're using?

                2. What kind of package you're using? JBI package or OSGi package?

                And you may need take a look at camel example shipped with kit, which also use

                 

                to load the JAVA DSL, you can see the difference with your bundle.

                 

                Also You can edit $FUSE_ESB/etc/

                add

                log4j.category.org.apache.camel=DEBUG

                which will enable DEBUG log for camel, you may need get more details info there, especially the output for this class

                org.apache.camel.core.osgi.OsgiPackageScanClassResolver

                 

                Freeman

                • 5. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
                  atodaro

                  apache-servicemix-4.3.1-fuse-01-15

                   

                  JBI package

                   

                  I take a look at camel example with kit, which also use

                   

                  and i don't see any difference

                   

                  I added log4j.category.org.apache.camel=DEBUG

                   

                  Thanks for reply

                  • 6. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
                    atodaro
                    davsclaus wrote:

                    Can you try using <routeBuilder ref="myRoute"> instead of <package> for the Java DSL.

                     

                    <bean id="myRoute" class="com.foo.MyRouteBuilder"/>

                     

                    eg to refer to a <bean> that is your route builder class.

                     

                     

                     

                    Bean 'someRouteBuilder'; nested exception is java.lang.ClassNotFoundException: com.apache.aire.MyRouteBuilder in classloader org.apache.xbean.spring.context.FileSystemXmlApplicationContext@19bc1bf

                    • 7. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
                      ffang

                      Hi,

                       

                      After you set DEBUG log for camel, do you see any more output in data/log/servicemix.log? especially from org.apache.camel.core.osgi.OsgiPackageScanClassResolver

                      class when you deploy your SA?

                       

                      Freeman

                      • 8. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
                        atodaro

                        this is the log when I deploy:

                         

                        09:19:22,363 | DEBUG | use-01-15/deploy | OsgiCamelContextHelper           | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Using OsgiFactoryFinderResolver

                        09:19:22,363 | DEBUG | use-01-15/deploy | OsgiCamelContextHelper           | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Using OsgiPackageScanClassResolver

                        09:19:22,363 | DEBUG | use-01-15/deploy | OsgiCamelContextHelper           | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Using OsgiComponentResolver

                        09:19:22,363 | DEBUG | use-01-15/deploy | OsgiCamelContextHelper           | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Using OsgiLanguageResolver

                        09:19:22,363 | DEBUG | use-01-15/deploy | OsgiCamelContextHelper           | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Using OsgiDataFormatResolver

                        09:19:22,378 | DEBUG | use-01-15/deploy | OsgiCamelContextHelper           | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Setting up OSGi ServiceRegistry

                        09:19:22,378 | DEBUG | use-01-15/deploy | AbstractCamelContextFactoryBean  | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Found JAXB created routes: []

                        09:19:22,378 | DEBUG | use-01-15/deploy | OsgiPackageScanClassResolver     | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Searching for implementations of org.apache.camel.RoutesBuilder in packages:

                        09:19:22,800 | DEBUG | use-01-15/deploy | OsgiPackageScanClassResolver     | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found: []

                        09:19:22,800 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | JMX enabled. Using ManagedManagementStrategy.

                        09:19:22,800 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Starting JMX agent on server: com.sun.jmx.mbeanserver.JmxMBeanServer@1cb25f1

                        09:19:22,800 | DEBUG | use-01-15/deploy | CamelContextFactoryBean          | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | EventAdmin package is not available, just don't use it

                        09:19:22,800 | DEBUG | use-01-15/deploy | SpringCamelContext               | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | onApplicationEvent: org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@9b9e76: startup date ; root of context hierarchy]

                        09:19:22,800 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Apache Camel 2.6.0-fuse-01-15 (CamelContext: 167-camel-6) is starting

                        09:19:22,816 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=context,name="167-camel-6"

                        09:19:22,816 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=eventnotifiers,name=EventNotifier(0x19f9c2e)

                        09:19:22,831 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=services,name=OsgiTypeConverter(0x1c6ca49)

                        09:19:22,847 | INFO  | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found 13 @Converter classes to load

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.component.file.GenericFileConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.component.bean.BeanConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.CamelConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.CollectionConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.IOConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.NIOConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.ObjectConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.TimePatternConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.jaxp.DomConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.jaxp.StaxConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.jaxp.StreamSourceConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.jaxp.XmlConverter

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.camel.converter.stream.StreamCacheConverter

                        09:19:22,847 | INFO  | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found 1 @Converter classes to load

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.servicemix.nmr.core.converter.StringSourceConverter

                        09:19:22,847 | INFO  | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found 1 @Converter classes to load

                        09:19:22,847 | DEBUG | use-01-15/deploy | Activator                        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Loading converter class: org.apache.servicemix.camel.converter.JbiConverter

                        09:19:22,863 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=services,name=DefaultExecutorServiceStrategy(0x24d0d0)

                        09:19:22,863 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=services,name=SharedProducerServicePool(0x1091e54)

                        09:19:22,863 | DEBUG | use-01-15/deploy | SharedProducerServicePool        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Starting service pool: org.apache.camel.impl.SharedProducerServicePool@1091e54

                        09:19:22,878 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=services,name=DefaultInflightRepository(0x1a62fca)

                        09:19:22,894 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=services,name=DefaultShutdownStrategy(0x14b6df0)

                        09:19:22,894 | DEBUG | use-01-15/deploy | DefaultComponent                 | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Creating endpoint uri=[spring-event://default], path=[default], parameters=[{}]

                        09:19:22,894 | DEBUG | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | spring-event://default converted to endpoint: Endpoint[spring-event://default] by component: org.apache.camel.component.event.EventComponent@11ead5b

                        09:19:22,894 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=endpoints,name="spring-event://default"

                        09:19:22,894 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Total 0 routes, of which 0 is started.

                        09:19:22,894 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Apache Camel 2.6.0-fuse-01-15 (CamelContext: 167-camel-6) started in 0.094 seconds

                        09:19:22,894 | DEBUG | use-01-15/deploy | OsgiCamelContextPublisher        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registering CamelContext in OSGi registry

                        09:19:22,894 | DEBUG | use-01-15/deploy | OsgiComponentResolver            | 75 - org.apache.camel.camel-spring - 2.6.0.fuse-01-15 | Found component: jbi in registry: org.apache.servicemix.camel.JbiComponent@16570ed

                        09:19:22,909 | DEBUG | use-01-15/deploy | DefaultManagementAgent           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registered MBean with objectname: org.apache.camel:context=BDEURI38522/167-camel-6,type=components,name="jbi"

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Service unit deployed

                        09:19:22,909 | INFO  | use-01-15/deploy | ServiceAssemblyImpl              | 93 - org.apache.servicemix.jbi.deployer - 1.4.0.fuse-01-15 | Changing SA state to Stopped

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Initializing service unit

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Querying service description for org.apache.servicemix.jbi.runtime.impl.ServiceEndpointImpl@1b66a6b

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | No description found for camelcontext:aire-server-bridge-camel-su-controlbus

                        09:19:22,909 | DEBUG | use-01-15/deploy | osgi                             | 92 - org.apache.servicemix.jbi.osgi - 1.4.0.fuse-01-15 | ServiceEvent REGISTERED

                        09:19:22,909 | INFO  | use-01-15/deploy | ManagementEndpointRegistry       | 84 - org.apache.servicemix.nmr.management - 1.4.0.fuse-01-15 | Registering endpoint: org.apache.servicemix.nmr.core.InternalEndpointWrapper@1289d303 with properties {jbi.internal=true, NAME={http://camel.apache.org/schema/jbi}camelcontext:aire-server-bridge-camel-su-controlbus, ENDPOINT_NAME=aire-server-bridge-camel-su-controlbus, SERVICE_NAME=camelcontext, objectClass=[Ljava.lang.String;@1b5a4ca, service.id=377}

                        09:19:22,909 | DEBUG | use-01-15/deploy | osgi                             | 82 - org.apache.servicemix.nmr.osgi - 1.4.0.fuse-01-15 | ServiceEvent REGISTERED

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Service unit initialized

                        09:19:22,909 | INFO  | use-01-15/deploy | ServiceAssemblyImpl              | 93 - org.apache.servicemix.jbi.deployer - 1.4.0.fuse-01-15 | Changing SA state to Started

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Starting service unit

                        09:19:22,909 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Apache Camel 2.6.0-fuse-01-15 (CamelContext: 167-camel-6) is starting

                        09:19:22,909 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Total 0 routes, of which 0 is started.

                        09:19:22,909 | INFO  | use-01-15/deploy | OsgiSpringCamelContext           | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Apache Camel 2.6.0-fuse-01-15 (CamelContext: 167-camel-6) started in 0.000 seconds

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelContextPublisher        | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Registering CamelContext in OSGi registry

                        09:19:22,909 | DEBUG | use-01-15/deploy | OsgiCamelJbiComponent            | 90 - servicemix-common - 2011.01.0.fuse-01-15 | Service unit started

                        09:19:22,909 | DEBUG | use-01-15/deploy | Deployer                         | 93 - org.apache.servicemix.jbi.deployer - 1.4.0.fuse-01-15 | Registering JBI service assembly

                        09:19:22,909 | DEBUG | sRequestorPool-6 | ActiveMQJmsRequestorPool         | 95 - org.springframework.jms - 3.0.5.RELEASE | Creating a new consumer

                        09:19:22,909 | DEBUG | sRequestorPool-6 | ActiveMQJmsRequestorPool         | 95 - org.springframework.jms - 3.0.5.RELEASE | Choosing a requestor from pool

                        • 9. Re: Could not dispatch exchange. No matching endpoints- Router Java DSL
                          ffang

                          Hi,

                           

                          Notice this part

                          09:19:22,378 | DEBUG | use-01-15/deploy | OsgiPackageScanClassResolver | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Searching for implementations of org.apache.camel.RoutesBuilder in packages: http://com.areva.aire

                          09:19:22,800 | DEBUG | use-01-15/deploy | OsgiPackageScanClassResolver | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found: []

                          Found[] means it can't found any router from the specified package.

                           

                          I tried the camel example with FUSE ESB 4.3.1-fuse-01-15, the counterpart log is

                          16:06:26,836 | DEBUG | l Console Thread | OsgiPackageScanClassResolver     | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Searching for implementations of org.apache.camel.RoutesBuilder in packages:

                          16:06:26,945 | DEBUG | l Console Thread | OsgiPackageScanClassResolver     | 68 - org.apache.camel.camel-core - 2.6.0.fuse-01-15 | Found:

                           

                          You can tell the difference, I suspect something wrong in the way that you package your SA(Probably you need firstly check if your SA actually contain package com.areva.aire or not). As you mentioned you use JBI package, and our camel example shipped with kit  also use JBI package and use JAVA DSL inside it, IMHO it's exactly same as your scenario, so I strongly suggest you take the camel example as a start and revise it to fit your requirement.

                           

                          Freeman

                           

                          Edited by: ffang on Jul 8, 2011 8:21 AM