Re: How to Register a "Default Soap Fault Handler" in Camel?

2011-03-14 Thread hyjshanghai
Thanks. I have set handleFault to "true" on my camel context. But the processor configured in onException(java.lang.Exception) still fails to execute if the cxf endpoint returns soap fault message. The cxf endpoint that returns soap fault message uses MESSAGE as the data format. A post http://w

Asynchronous Remoting with Futures

2011-03-14 Thread Harald Wellmann
Is it possible to combine remoting by proxy (http://camel.apache.org/spring-remoting.html) with asynchronous request/reply (http://camel.apache.org/async.html) to achieve some sort of equivalent to EJB 3.1 @Asynchronous invocations? E.g. @Stateless @Remote(CalculatorService.class) public cla

Re: Remoting via HTTP and Jetty

2011-03-14 Thread Harald Wellmann
Am 14.03.2011 19:48, schrieb Claus Ibsen: Hi Harald Nice blog btw on the JMS. Thanks :-) I remember adding support for serialized objects over HTTP recently. Basically you need to set the content-type to indicate that. Let me find an unit test. https://svn.apache.org/repos/asf/camel/trunk/c

ActiveMQ stuck message using JTA Transactions

2011-03-14 Thread Brian
I am having an issue with a message being stuck in an ActiveMQ queue when using spring JTA Transaction Manager backed by Atomikos and a propagation policy of "PROPAGATION_REQUIRES_NEW". I am trying to consume from one queue and insert into the second queue using a different transaction than the f

Re: How to Register a "Default Soap Fault Handler" in Camel?

2011-03-14 Thread Claus Ibsen
On Mon, Mar 14, 2011 at 10:54 AM, hyjshanghai wrote: > Just like handling exception by the "onException" DSL in Camel, I want to > handle any soap fault message returned by cxf endpoints in a single handler. > How can I realize it in Camel? Is there anything like "onSoapFault"? > There is a handl

Re: Remoting via HTTP and Jetty

2011-03-14 Thread Claus Ibsen
Hi Harald Nice blog btw on the JMS. I remember adding support for serialized objects over HTTP recently. Basically you need to set the content-type to indicate that. Let me find an unit test. https://svn.apache.org/repos/asf/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/compon

Re: Camel CXF Producer should allow setting of BindingOperationInfo

2011-03-14 Thread tjain2011
Hi Can you please elaborate on this. I am in the similar situation. How did you set the operation name and namespace for the next endpoint. And do i need to create CxfProducer (a client) for the second endpoint which will then call the external webservice. Here is what i am doing ...but i am sure

http proxy for mtom ws

2011-03-14 Thread avonm
Hi, we are trying to develop a proxy to be used for mtom web services. The proxy will need to read information in the soap header to determine which is the url of the service, and will use a recipient list to perform the redirect. A first initial implementation was the following public class

Re: Dropping support for Java1.5

2011-03-14 Thread Hadrian Zbarcea
A few things, the most important being the ability to use dependencies that only support 1.6 (e.g. jersey). Even in previous versions released with jdk 1.5 support, some component did not work with jdk 1.5. That complicated our testing and packaging as well, and required extra time and effort to

Re: Dropping support for Java1.5

2011-03-14 Thread Grant Rettke
On Mon, Mar 14, 2011 at 9:47 AM, Hadrian Zbarcea wrote: > The cost/benefit ratio seemed to high for us. What does Camel gain from using JDK 1.6?

Re: Dropping support for Java1.5

2011-03-14 Thread Hadrian Zbarcea
On Mar 12, 2011, at 5:12 PM, Grant Rettke wrote: > On Sat, Mar 12, 2011 at 12:30 PM, bfischer wrote: >> 3. Furthermore our customers are "conservative", they don't like migrations >> to new versions. Thats true especially for their operating departments >> because it brings more work, increases

Re: Issue with JMS Temp Queues (Tibco EMS)

2011-03-14 Thread enalposi
Hallo Christian - Right, we are using temp queues for responses, but need more control than standard req/resp. The response may not just be synchronous but result in several messages (this is not uncommon in the financial/analytics world and in general helps creating dynamic interfaces that incre

Re: java.util.concurrent.RejectedExecutionException using interceptSendToEndpoint

2011-03-14 Thread Marco Crivellaro
That is not an heavy load sample, it runs in exception after the 2nd time it runs the for cycle... -- View this message in context: http://camel.465427.n5.nabble.com/java-util-concurrent-RejectedExecutionException-using-interceptSendToEndpoint-tp3425179p3556257.html Sent from the Camel - Users ma

camel-ftp and file names containing characters above 128

2011-03-14 Thread Bengt Rodehav
I'm using camel-ftp (Camel 2.6) on Windows XP. Being Swedish the file names sometimes contain national characters (åäöÅÄÖ). This does not seem to work well. If I retrieve (get) a file via camel-ftp with the name "testäÄ.txt", the name of the received file becomes "testäÄ.txt". If I try to retri

How to Register a "Default Soap Fault Handler" in Camel?

2011-03-14 Thread hyjshanghai
Just like handling exception by the "onException" DSL in Camel, I want to handle any soap fault message returned by cxf endpoints in a single handler. How can I realize it in Camel? Is there anything like "onSoapFault"? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-Reg

Re: camel-cxf endpoint in CXF Dispatch mode

2011-03-14 Thread Aki Yoshida
Hi Willem, Thanks for your feedback. 1. I see this dispatch mode as a binding of the JAXWS dispatch API to the current Camel endpoint model. The JAXWS dispatch gives you the dispatch API (Dispatch) that allows you transmit SOAPMessage or Source objects. The Camel CXF endpoint supports the data for