Problems using a osgi bundle in a camel route

2013-02-24 Thread Smith-John
Hi, I have problems using a OSGI-Service/bundle in a camel route. Read tutorial-osgi-camel but didn't get it to work. The setup: bundle 1 defines a Service interface (separate bundle for interface because there can be several implementations of it) bundle 2 implements this interface b

File processing patterns

2013-02-24 Thread tms
Hi, I'm using Camel 2.10 with Spring XML (as much as possible). I have done a bit of reading on the EIP's. However I'm still not sure the best way of realizing the scenario I have: Files coming into SFTP server. Camel polling SFTP server Files are named in sets: 1A, 1B, 1C 2A, 2B, 2C, 3A, 3B, 3C

Re: [Camel-Json] Json unmarshalling have some problem with different object on the same context

2013-02-24 Thread Tcharl
I screwed it declaring custom dataformat. Regards, -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Json-Json-unmarshalling-have-some-problem-with-different-object-on-the-same-context-tp5727040p5728067.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel XMPP routing

2013-02-24 Thread namita
I am trying to load the routes from xml file in camel.I am getting exception SASL authentication failed.My code is: for route-context.xml: http://camel.apache.org/schema/spring";> -- View this message in context: http://camel.465427.n5

Re: Camel XMPP routing

2013-02-24 Thread Willem jiang
Can you access the XMPP server with other client ? It looks like you are hitting some kind authentication issue. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blog

OSGI axis 1.4 jar ?

2013-02-24 Thread sarfaraj
Is there any osgi axis 1.4 jar, which contain all axis 1.4 related packages and classes. Currently I have one(axis-1.4-osgi) but it shows following errors com.sun.net.ssl -- Cannot be resolved and overwritten by Boot Delegation com.sun.net.ssl.internal.ssl -- Cannot be resolved and overwritten by

Re: OSGI axis 1.4 jar ?

2013-02-24 Thread Willem jiang
You need to expose those packages from the JRE (the system bundle) or installed the bundle which exports those packages. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemj

Re: Why I cannot run multiple CamelContext simultaneously?

2013-02-24 Thread Willem jiang
Hi, It looks like a bug of Camel. Do you mind to fill a JIRA[1] for it? [1]http://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemji

Re: OSGI axis 1.4 jar ?

2013-02-24 Thread sarfaraj
Those errors got resolved. But getting new following errors ng.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapable BeanFactory.java:965)

Re: Camel XMPP routing

2013-02-24 Thread Willem jiang
Hi, There are some xml escape characters you show care when you setup the Camel route with XML. You should use the & instead of & in the xml. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjia

Re: OSGI axis 1.4 jar ?

2013-02-24 Thread Willem jiang
Can you check if org.apache.axis.client.Service is exported in your axis bundle and the application bundle imports this package? -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http:/

Re: OSGI axis 1.4 jar ?

2013-02-24 Thread sarfaraj
Yes, I can see org.apache.axis.client.Service class in axis bundle and also I have imported org.apache.axis.client package. -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728082.html Sent from the Camel - Users mailing list archive at Nabble.co

Re: OSGI axis 1.4 jar ?

2013-02-24 Thread Willem jiang
I think you need to check the code of com.cat.service.http.CustomerServiceSoapServiceLocator, to find out if it is using the right TCCL. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.co