Re: Starting camel from my own class - Camel stops when main method stops

2009-02-13 Thread Claus Ibsen
Hi And maybe this page can also help setting some lower timeouts on the JMS http://activemq.apache.org/tcp-transport-reference.html On Sat, Feb 14, 2009 at 8:23 AM, Claus Ibsen wrote: > Hi > > You can use ctrl + break or ctrl + \ on unix to dump the thread list > when you app hangs. > You can t

Re: Starting camel from my own class - Camel stops when main method stops

2009-02-13 Thread Claus Ibsen
Hi You can use ctrl + break or ctrl + \ on unix to dump the thread list when you app hangs. You can then identify what happens We fixed an issue with the Main app not being able to stop properly, that is fixed in Camel 1.6.0, with a thread waiting for a countdown latch. So try out the 1.6.0 when

Null response calling route

2009-02-13 Thread Nick Heudecker
Hi, I'm using camel 2.0 snapshot and trying to get a response back from the first condition in the following choice(): from(JMS_JIS) .choice() .when().xpath("/jis:ListSupportedFeaturesRequest", cisNamespace) .unmarshal("camelJaxbDataFormat")

Re: Testing using Camel Test or Spring Testing or Guice

2009-02-13 Thread nojonojo
Let me clarify - I chose a poor message to respond to. It's not appearing in the standalone snapshot downloads (not related to the maven repository). nojonojo wrote: > > > Camel-test isn't appearing in the 2.0 snapshots. > > Nolan > > > willem.jiang wrote: >> >> Hi >> Since Camel-2.0 is

Re: Testing using Camel Test or Spring Testing or Guice

2009-02-13 Thread nojonojo
Camel-test isn't appearing in the 2.0 snapshots. Nolan willem.jiang wrote: > > Hi > Since Camel-2.0 is not released yet, you can dowload the snapshot from > here [1]. Please add this repository into your pom.xml, and set the > camel version to be 2.0-SNAPSHOT. > > > > apache.snap

Re: Starting camel from my own class - Camel stops when main method stops

2009-02-13 Thread James Strachan
This looks like its down to daemon threads (I can never remember whether daemon on or off stops the JVM from terminating :). The easiest way to fix it might be having a loop in your main asking the user to enter 'quit' to terminate the application or something. Either that or just wait forever vi

Camel as an OSGi service on a JOnAS 5.1.0-M3 Application Server

2009-02-13 Thread Guillaume Renault
Hello all, it is time for me to inform the Camel users that i did some work on Camel/OSGi/JOnAS. The goal was to provide a Camel OSGi service on the JOnAS 5 Application Server. I first noticed that Camel provides bundles of its modules (thanks all for this). However, an issue remains when we

TaskExecutor vs ExecutorService properties

2009-02-13 Thread efender
Several ActiveMQ/Camel classes have both a setTaskExecutor() and a setExecutorService(). I don't fully understand the difference between these two. Is there a FAQ or wiki that I've missed? Or can somebody explain this in a little be more detail? Thanks. Eric -- View this message in context:

Re: File component : file don't move

2009-02-13 Thread Claus Ibsen
On Fri, Feb 13, 2009 at 10:53 AM, pevgen wrote: > > I found a strange decision of the problem. > There are string messages in my files, and i can append ' type="java.lang.String"/>' after . In this case the > route work. and in-files move to backup directory. Hi 1) Thanks for sharing this. Withou

Starting camel from my own class - Camel stops when main method stops

2009-02-13 Thread selezovikj
I want to start Camel from my own class called Startup because I want to start other services as well. In the Startup class I do the following: // org.apache.camel.spring.Main Main camelMain = new Main(); camelMain.setApplicationContextUri("../config/jms-routing.xml"); try { camelM

Re: File component : file don't move

2009-02-13 Thread pevgen
I found a strange decision of the problem. There are string messages in my files, and i can append '' after . In this case the route work. and in-files move to backup directory. Evgeny pevgen wrote: > > Hello. > > sometimes, but not each time, I got Exceptions : > > org.apache.camel.compon

Re: File component : file don't move

2009-02-13 Thread pevgen
I found a strange decision of the problem. There are string messages in my files, and i can append '' after . In this case the route work. Evgeny pevgen wrote: > > Hello. > > sometimes, but not each time, I got Exceptions : > > org.apache.camel.component.file.filecompon...@37165f] ERROR >