camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From subh <sube...@aol.com>
Subject Camel route not getting created
Date Wed, 02 Sep 2009 20:54:51 GMT

I have a very simple camel route defined, but the riute is not getting
created when i deploy my SA and as a result I get "Could not find route for
exchange: InOnly" exception

DEBUG - DeliveryChannelImpl            - Exception processing:
ID:10.30.9.91-1237c80966c-5:1 in DeliveryChannel{servicemix-file}
ERROR - FileComponent                  - Failed to process file:
\opt\webMethods6\IntegrationServer\comm\sa\Site_Activity_Sample.xml. Reason:
javax.jb
i.messaging.MessagingException: Could not find route for exchange: InOnly[
  id: ID:10.30.9.91-1237c80966c-5:1
  status: Active
  role: provider
  service: {http://services.fuelquest.com/fqintegration}fqisCamelRouter
  in: <?xml version="1.0" encoding="UTF-8"?><ns2:SiteActivity
xmlns:ns2="http://www.fuelquest.com/xi/fms/fms_44">

The servicemix log looks like below

DEBUG - DeploymentService              - Unpack service unit archive
C:\fuse-esb-3.4.0.2-slave\data\smx\service-assemblies\fqis-esb-sa\version_8\insta
ll\fqis-camel-su-0.0.1.zip to
C:\fuse-esb-3.4.0.2-slave\data\smx\service-assemblies\fqis-esb-sa\version_8\sus\servicemix-camel\fqis-camel-su
DEBUG - CamelJbiComponent              - Deploying service unit
DEBUG - CamelJbiComponent              - Looking for
C:\fuse-esb-3.4.0.2-slave\data\smx\service-assemblies\fqis-esb-sa\version_8\sus\servicemix-camel\
fqis-camel-su\camel-context.xml: true
INFO  - DefaultCamelContext            - JMX enabled. Using
InstrumentationLifecycleStrategy.
DEBUG - CamelContextFactoryBean        - Found JAXB created routes: []
DEBUG - ResolverUtil                   - Searching for implementations of
org.apache.camel.Routes in packages: [com.fuelquest.integration.camelsu.FQIS
RouteBuilder]
DEBUG - ResolverUtil                   - Using only regular classloaders
DEBUG - ResolverUtil                   - Found: []
DEBUG - SpringCamelContext             - Publishing spring-event:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spri
ng.context.FileSystemXmlApplicationContext@18ad735: display name
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@18ad735];
startup da
te [Wed Sep 02 15:46:06 CDT 2009]; root of context hierarchy]
DEBUG - SpringCamelContext             - Starting the CamelContext now that
the ApplicationContext has started
INFO  - DefaultCamelContext            - Apache Camel 1.6.0.0-fuse
(CamelContext:camelFQIS) is starting
DEBUG - DefaultInstrumentationAgent    - Starting JMX agent on server:
com.sun.jmx.mbeanserver.JmxMBeanServer@1b16e52
DEBUG - DefaultInstrumentationAgent    - Registered MBean with objectname:
org.apache.camel:context=sdasguptat60p/camelFQIS,name=context
DEBUG - DefaultComponent               - Creating endpoint
uri=[spring-event:default], path=[default], parameters=[{}]
DEBUG - DefaultCamelContext            - spring-event:default converted to
endpoint: Endpoint[spring-event:default] by component: org.apache.camel.com
ponent.event.EventComponent@483536
DEBUG - DefaultInstrumentationAgent    - Registered MBean with objectname:
org.apache.camel:context=sdasguptat60p/camelFQIS,type=endpoints,name="sprin
g-event:default\?id=0x20a20c46"
INFO  - DefaultCamelContext            - Apache Camel 1.6.0.0-fuse
(CamelContext:camelFQIS) started

Here is the config I am using

<camelContext id="camelFQIS"
xmlns="http://activemq.apache.org/camel/schema/spring">
    	<package>com.fuelquest.integration.camelsu.FQISRouteBuilder</package> 
</camelContext>

public class FQISRouteBuilder extends RouteBuilder {

              private final static String NAMESPACE =
"http://services.fuelquest.com/fqintegration";

              from(jbi:service:" + NAMESPACE + "/fqisCamelRouter)
    	      .to(FQIS_SITEACTIVITY_PROCESSOR_SERVICE);
}



-- 
View this message in context: http://www.nabble.com/Camel-route-not-getting-created-tp25265566p25265566.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message