Re: Regarding Thread status

2013-12-03 Thread Claus Ibsen
I am new to camel.can you tell me how to get > messages that are > currently in-flight on a route? what API I need to use to obtain the > information about the messages? > > Thanks, > Sameer > > > > -- > View this message in context: > http://camel.465427.n5.nabbl

Re: Regarding Thread status

2013-12-03 Thread Sameer
Thanks alot for the reply.I am new to camel.can you tell me how to get messages that are currently in-flight on a route? what API I need to use to obtain the information about the messages? Thanks, Sameer -- View this message in context: http://camel.465427.n5.nabble.com/Regarding-Thread

Re: Regarding Thread status

2013-12-01 Thread Claus Ibsen
You can use Camel's JMX information to know how many messages are currently in-flight on a per route basis. Then you can see if there is 5 in-flight messages on the route. Though as its just Java code, you can also just use some java bean to keep state of your jobs. And set the state in the start

Regarding Thread status

2013-11-30 Thread Sameer Patro
Hi, I have a program in which when the jobs arrives in a camel channels(seda),the processing of the job happens within the threads.We have configured 5 thread for the processing. Can anyone guide me how i can create a program to know the running status of the job getting processed within the SEDA