Re: camel-example-cxf pom.xml

2011-03-30 Thread Willem Jiang
Hi, Can you try the latest code in the camel trunk, I did some change on the relative path of the camel examples pom recently. Can you verify the change with your eclipse maven plugin :) Willem On 3/30/11 10:18 PM, dead_devil_66 wrote: Hi Claus. I tried to build but, unfortunetly, i got a ne

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-30 Thread Mike L .
>> Attachment #1 (ActiveMQ_DLQ_Msg.png) shows a sample of such a message. Hopefully, the attachment stays attached this time...

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-30 Thread Mike L .
Paul: Thank you for your response. Please see my comments inline below... > To: users@camel.apache.org > Date: Tue, 29 Mar 2011 04:35:51 -0700 > Subject: Re: InOut over JMS always leads to Timout (ExchangeTimedOutException) > > Mike, > > I can't see your original description of the problem in

Re: type converter not loading

2011-03-30 Thread Donald Whytock
Okay...I bundled camel-core-osgi separately, created a bundle that instantiates OsgiDefaultCamelContext on activation then registers ContextUtil as a service to provide the instance as a singleton, and created another bundle called Sender that uses a ServiceTracker to wait until ContextUtil is regi

unique ExecuterService for each CamelContext

2011-03-30 Thread Stefan Below
Hi, I am running multiple Camel instances in the same JVM. Each Camel instance should have an unique, custom Executerservice. I set the Executerservice to the CamelContext registry. But when i start the same route in two different contexts, the executerservice gets shared (Same issue with

Re: camel-example-cxf pom.xml

2011-03-30 Thread Claus Ibsen
On Wed, Mar 30, 2011 at 6:11 PM, dead_devil_66 wrote: > Hi Claus. > > Yes, i have done that. > > I ran mvn install -Pfastinstall and mvn clean install in the root of > camel-example-cxf. > Ah its in root of camel source, camel-source + examples + camel-example-cxf eg in the ROOT which w

Re: camel-example-cxf pom.xml

2011-03-30 Thread dead_devil_66
Hi Claus. Yes, i have done that. I ran mvn install -Pfastinstall and mvn clean install in the root of camel-example-cxf. For both commands, i get the same error. -- View this message in context: http://camel.465427.n5.nabble.com/camel-example-cxf-pom-xml-tp4268673p4271768.html Sent from the Ca

Re: camel-example-cxf pom.xml

2011-03-30 Thread Claus Ibsen
You have to execute the cmd from the ROOT of the source code. On Wed, Mar 30, 2011 at 4:26 PM, dead_devil_66 wrote: > Hi Claus. > > I tried to build but, unfortunetly, i got a new error... > > This is how i did it: > > a) Through eclipse, i used the maven plugin. This is the error i got: > > htt

Re: camel-example-cxf pom.xml

2011-03-30 Thread dead_devil_66
Hi Claus. I tried to build but, unfortunetly, i got a new error... This is how i did it: a) Through eclipse, i used the maven plugin. This is the error i got: http://pastie.org/1735237 b) Through command prompt, in the project directory. This is the output i got: http://pastie.org/1735242 --

Re: camel-example-cxf pom.xml

2011-03-30 Thread Claus Ibsen
Follow the guide here http://camel.apache.org/building eg do a build from the ROOT of the Camel source code to get all artifacts build and whatnot. For example as the quick build say. The source code can be checked out from SVN as explained here http://camel.apache.org/source.html On Wed, Mar

Re: camel-example-cxf pom.xml

2011-03-30 Thread dead_devil_66
Hi Claus. I tried to build but, unfortunetly, i got a new error... This is how i did it: a) Through eclipse, i used the maven plugin. This is the error i got: [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.came

Throw exception from subroute to the parent route

2011-03-30 Thread Charles Moulliard
Hi, To be able to process in a camel parent route an exception throwed in a sub route, a noErrorHandler must be defined in the subroute. Is there an alternative for doing that without defining a NoErrorHandler into the second camel route ? public void configure() throws Exception {

Re: WebSpherePackageScanClassResolver.isWebSphereClassLoader(WebSpherePackageScanClassResolver.java:46)

2011-03-30 Thread davsclaus
What version of Camel are you using? And how do you run it? - Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/ -- View this message

Re: updating from camel-quartz 2.4 to 2.6

2011-03-30 Thread Claus Ibsen
Hi You have another quartz job with the same name. The name should really be unique so you avoid duplicate clashes. And its much easier to define the quartz endpoint as a pure string, instead of creating it manually as you do in java code. On Wed, Mar 30, 2011 at 11:39 AM, JacobS wrote: > afte

Re: Any Plan for camel to be integrated with CDI

2011-03-30 Thread James Strachan
BTW it looks like the original post has gone to nabble but not yet been approved on the apache lists. FWIW we've designed Camel to work with or without any Dependency Injection framework (e.g. Spring or Guice) or Registry (JNDI / Spring / OSGi etc). So it should be trivial to add support for CDI i

updating from camel-quartz 2.4 to 2.6

2011-03-30 Thread JacobS
after moving from camel-quartz 2.4.0 to 2.6.0 I started getting exceptions when the trigger is fired: 10:39:47.776 [DefaultQuartzScheduler_Worker-9] ERROR org.quartz.core.JobRunShell - Job DEFAULT.quartz-endpoint140 threw an unhandled Exception: org.apache.camel.ResolveEndpointFailedException: Fa

Re: http not cleaning up tmp files when exchange is stopped

2011-03-30 Thread davsclaus
Can you try with a later release such as 2.6 or 2.7. The tmp files is deleted using an oncompletion on the Exchange so it ought to be deleted regardless if you are using stop or not. But that change may have been done in a later Camel release than you use. I can't remember. - Claus Ibsen -

Re: Any Plan for camel to be integrated with CDI

2011-03-30 Thread davsclaus
Can you post more details? But sure we like Camel to be integrated and useable with CDI as well. But currently we dont have that on the roadmap. You are the first asking for that. As we love contributions you are welcome to look into what it takes. Usually Camel need to integrate its org.apache.

Re: jpa in Camel with huge resultset

2011-03-30 Thread davsclaus
You can use the maximumResults option on camel-jpa to set a upper limit for the resultset. http://camel.apache.org/jpa - Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in A

Re: Camel Unit Testing with Spring.

2011-03-30 Thread Claus Ibsen
Do not use the osgi namespace but just spring instead eg http://camel.apache.org/schema/osgi should be http://camel.apache.org/schema/spring And if you use OSGi blueprint instead you use http://camel.apache.org/schema/blueprint On Wed, Mar 30, 2011 at 11:15 AM, Naira & Kobo wrote: > Hi, > >

Camel Unit Testing with Spring.

2011-03-30 Thread Naira & Kobo
Hi, After following the steps describes in Camel in Action to set up a unit test, I keep getting the following error when I try to test run my unit case: Invalid NamespaceHandler class [org.apache.camel.osgi.CamelNamespaceHandler] for namespace [http://camel.apache.org/schema/osgi]: problem with

Re: Service architecture

2011-03-30 Thread Claus Ibsen
Hi Gonzalo Nice to meet you at TSSJS, and signing your copy of the Camel in Action book. Now you gotta go to Canada to have Jon sign it as well :) Or stop by DC next month for the Camel One conference. Anyway I can see this thread has picked up and a lot of good feedback. The one item I would ob

RE: 2.7.0 changes have a bug

2011-03-30 Thread Jason Chaffee
I have been using Spring 3.0.3.RELEASE for several months now with camel and ActiveMQ. As I said, the only differences between the two apps are the camel jars. Nothing else is different, including the spring version. I guess, I am change one camel jar at a time to see which one produces the