Re: What Enterprise Integration Pattern will solve this scenario?

2010-01-23 Thread Christian Schneider
You could try the message filter: http://camel.apache.org/message-filter.html Greetings Christian Am 23.01.2010 21:04, schrieb lekkie: I have a request message I intend to send to an exchange to be processed. If the response from the exchange is approved, I intend to send the request message

What Enterprise Integration Pattern will solve this scenario?

2010-01-23 Thread lekkie
I have a request message I intend to send to an exchange to be processed. If the response from the exchange is approved, I intend to send the request message of the original request message to another exchange. Is this achieveable? If yes, what EIP would be most appropriate? regards. -- View t

Re: Jetty Security Handler

2010-01-23 Thread huntc
Hi, I needed to adorn my own authorisation policy to Jetty endpoints a while back and so we subsequently modified the component. Take a look at http://camel.apache.org/jetty.html and the section entitled "Jetty handlers and security configuration". The approach uses JAAS. Maybe this will be use

Re: camel and too many threads?

2010-01-23 Thread huntc
Could it be this: http://camel.apache.org/why-does-camel-use-too-many-threads-with-producertemplate.html -- View this message in context: http://old.nabble.com/camel-and-too-many-threads--tp27285126p27289273.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-23 Thread huntc
Hi Claus, I'm happy to create a ticket of course, however I'm not clear on what the resolution is. I am not sure that implementing a "disconnect" URI option is the way to go though as per FTP. My use case is that I want to establish a connection, send multiple messages within a loop through that

Re: camel and to many threds?

2010-01-23 Thread Stan Lewis
What does your full route do? It looks like it's stopped somewhere along your route. Have you done a full thread dump to see how many threads are in this state? Have you seen any instances of OutOfMemoryError in your logs? This could be an indicator of a thread creation failure, or some other p

Re: HTTP parameter bug (was passing the HTTPServletRequest from Jetty to a SEDA consumer in Spring DSL)

2010-01-23 Thread Wayne Keenan
Hi Willem, Thanks very much, I can confirm that with 2.2-SNAPSHOT I can obtain the URI QUERY parameters from the camel header(s) when POSTing content-type of application/octet-stream. I did notice that a HTTP PUT doesn't populate the headers with the URI Query parameter Regards Wayne On Fri, Ja

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-23 Thread Claus Ibsen
On Sat, Jan 23, 2010 at 8:08 AM, huntc wrote: > > Hi guys, > > Turns out that I'm using MinaProducer and not MinaConsumer of course; > MinaConsumer is the one that has the HEADER_CLOSE_SESSION_WHEN_COMPLETE > logic and MinaProducer isn't so capable by the looks of it. > > I was hoping that stoppin

camel and to many threds?

2010-01-23 Thread marcin80
Hi, I'm using Camel with ServiceMix4 (Fuse ESB) and I have problem with timer component. >From time to time my timer's thread stops. A thread dump is following: Name: timer:foo?period=5000 State: WAITING on org.apache.camel.util.concurrent.countinglatch$s...@1b61ebd Total blocked: 1 Total wait