Re: Could camel support configurable interceptor strategy in spring?

2010-10-22 Thread Claus Ibsen
Hi See this page http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html On Fri, Oct 22, 2010 at 6:15 AM, ext2 x...@tongtech.com wrote: Hi:        Camel's Context support a low level API(CamelContext.addInterceptStrategy), which we could use it to add our custom

Re: how to implement the instrumentation of from-endpoint?(Should camel to support the route level interceptor)

2010-10-22 Thread Claus Ibsen
See also http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html On Fri, Oct 22, 2010 at 6:01 AM, ext2 x...@tongtech.com wrote: Hi:        Camel support interceptors for processor, but recently I encounter a requirement, it ask for a custom instrumentation

Re: how to implement the instrumentation of from-endpoint?(Should camel to support the route level interceptor)

2010-10-22 Thread ext2
Thanks a lot. It's just what I needed; --- on 2010/10/22 12:38 Willem Jiang [mailto:willem.ji...@gmail.com] wrote Re: how to implement the instrumentation of from-endpoint?(Should camel to support the route level

Re: : Could camel support configurable interceptor strategy in spring?

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 7:39 AM, ext2 x...@tongtech.com wrote: Thanks a lot. I see; Camel could look up all the configured interceptor-strategies in spring application context. But unfortunately, it seems we couldn't control the wrap order of interceptor-strategies; Can you try implement

Re: Could camel support configurable interceptor strategy in spring?

2010-10-22 Thread ext2
Hi, Clause: Thanks a lot; I am sorry for my poor knowledge about Orader. I have just reviewed the source code of camel-core, camel-spring,camel-xml. But I haven't found the source code to control the wrapper-sequence of interceptor strategy by Ordered; Do you means my interceptor-strategy can

Re: Could camel support configurable interceptor strategy in spring?

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 9:19 AM, ext2 x...@tongtech.com wrote: Hi, Clause: Thanks a lot; I am sorry for my poor knowledge about Orader.  I have just reviewed the source code of camel-core, camel-spring,camel-xml. But I haven't found the source code to control the wrapper-sequence of

Best way to recive data from an http endpoint?

2010-10-22 Thread Lorenz, Stefan
Hi, I'm trying to get data from a web service. I tried it with the ConsumerTemplate and just using consumer.receiveBody(http://foo/?query=bar... http://foo/?query=bar ) this is working but there I got an error because of the whitespaces in the query parameter... I have encoded them correctly...

Re: Best way to recive data from an http endpoint?

2010-10-22 Thread Jean-Baptiste Onofré
Hi Stefan, When you say get data from a web service, does it mean that you want that Camel act as a consumer, binding a HTTP endpoint expecting incoming SOAP message or Camel act as a provider and communicates with an external WebService ? I guess it's the first behavior: Camel as a

Re: Could camel support configurable interceptor strategy in spring?

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 11:15 AM, ext2 x...@tongtech.com wrote: Hi, Clause: It seems the Ordered interface of interceptor strategy doesn't works; Could camel support such a feature? What version of Camel are you using? == On Fri,

Re: Could camel support configurable interceptor strategy in spring?

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 11:27 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Oct 22, 2010 at 11:15 AM, ext2 x...@tongtech.com wrote: Hi, Clause: It seems the Ordered interface of interceptor strategy doesn't works; Could camel support such a feature? What version of Camel are you

AW: Best way to recive data from an http endpoint?

2010-10-22 Thread Lorenz, Stefan
Thx, I got it working now. I've created a route with an http component inside... -Ursprüngliche Nachricht- Von: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Gesendet: Freitag, 22. Oktober 2010 11:21 An: users@camel.apache.org Betreff: Re: Best way to recive data from an http

Re: Could camel support configurable interceptor strategy in spring?

2010-10-22 Thread ext2
Thanks a lot I have raise the issue as: https://issues.apache.org/activemq/browse/CAMEL-3266, On Fri, Oct 22, 2010 at 11:27 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Oct 22, 2010 at 11:15 AM, ext2

A confusing things. pipeline's bug? or Processor's bug?

2010-10-22 Thread ext2
Hi: The mail tell 3 things: 1) pipeline processor, along with other build-in processor of camel(which doesn't care MEP) will cause a confusing things; 2) some source code of camel concerned of this confusing. 3) how to understand the confusing things? it concerns of MEP , which has been

Re: Custom Router

2010-10-22 Thread serega
So, how does exactly Dynamic Router work and why does it have to return null to indicate the end? Suppose my Dynamic Router returns file://some_directory. What happens with the message after the call returns? Sergey. -- View this message in context:

Re: Custom Router

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 3:42 PM, serega sergejs.melde...@sybase.com wrote: So, how does exactly Dynamic Router work and why does it have to return null to indicate the end? Suppose my Dynamic Router returns file://some_directory. What happens with the message after the call returns? It goes

Re: Custom Router

2010-10-22 Thread serega
Claus Ibsen-2 wrote: On Fri, Oct 22, 2010 at 3:42 PM, serega sergejs.melde...@sybase.com wrote: So, how does exactly Dynamic Router work and why does it have to return null to indicate the end? Suppose my Dynamic Router returns file://some_directory. What happens with the message

Re: Custom Router

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 3:58 PM, serega sergejs.melde...@sybase.com wrote: Claus Ibsen-2 wrote: On Fri, Oct 22, 2010 at 3:42 PM, serega sergejs.melde...@sybase.com wrote: So, how does exactly Dynamic Router work and why does it have to return null to indicate the end? Suppose my Dynamic

Transaction Error Handler with Dead Letter Channel

2010-10-22 Thread Thiago Souza
Hi, Is there a way to configure (using java dsl) a transaction error handler with a dead letter channel in case of a redeliver exhaustion? Regards, Thiago Souza -- View this message in context:

Re: Transaction Error Handler with Dead Letter Channel

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 4:22 PM, Thiago Souza tcostaso...@gmail.com wrote: Hi,    Is there a way to configure (using java dsl) a transaction error handler with a dead letter channel in case of a redeliver exhaustion? No Usually the transaction manager has some way of a built-in dead letter

Re: Transaction Error Handler with Dead Letter Channel

2010-10-22 Thread Thiago Souza
Hi, So, if I can configure a redelivery policy at ActiveMQ AND at Camel, what would be the consequences of mixing different configurations? Is it a good practice to isolate a redelivery policy configuration in one place only (that is, in amq OR in camel) ? Regards, Thiago Souza -- View

Re: Transaction Error Handler with Dead Letter Channel

2010-10-22 Thread Donald Whytock
What about using DeadLetterChannelBuilder, like in the Error Handler page? http://camel.apache.org/error-handler.html On Fri, Oct 22, 2010 at 10:26 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Oct 22, 2010 at 4:22 PM, Thiago Souza tcostaso...@gmail.com wrote: Hi,    Is there a way

Re: Transaction Error Handler with Dead Letter Channel

2010-10-22 Thread Claus Ibsen
On Fri, Oct 22, 2010 at 5:39 PM, Thiago Souza tcostaso...@gmail.com wrote: Hi,    So, if I can configure a redelivery policy at ActiveMQ AND at Camel, what would be the consequences of mixing different configurations?    Is it a good practice to isolate a redelivery policy configuration in

Re: 2 minor MINA bugs

2010-10-22 Thread Mark Webb
With the default ActiveMQ configuration, that stack trace is not sent to the console. So if people send text messages longer than 1024 characters to ActiveMQ the messages will not get processed and there will be no log entry as to why. On Thu, Oct 21, 2010 at 1:36 PM, Claus Ibsen

Camel-netty configuration question

2010-10-22 Thread Yiannis Mavroukakis
Hello fellow listers, I'm trying to achieve the following setup. I need a netty socket, that will accept xml as a byte stream terminated by 0x00. So far I have this config setup in spring DSL bean id=nullDelimiter class= org.jboss.netty.handler.codec.frame.Delimiters