Re: How to setHeader reponse code ?

2015-03-09 Thread Willem Jiang
Hi, You can setup the response from the SOAPFaultĀ setStatusCode method. Just like this: SoapFault sf = new SoapFault(Central svarer ikke hos + central, SoapFault.FAULT_CODE_SERVER); sf.setStatusCode(504); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog:

Re: Diff between configuring maxConcurrentConsumers in JMSComponent, Route URI or per JMSEndpoint

2015-03-09 Thread yogu13
Hello, To the best of my knowledge 1. activemq connection is first established and then consumers / sessions are created based on maxConcurrentConsumers property. 2. The value of this property when overwritten by the endpoint uri takes in the effect as its more for the container and not a

Re: Camel M2M gateway project

2015-03-09 Thread Henryk Konsek
Hi, Maybe add a link to your project from the Camel user stories / articles or somewhere relevant? http://camel.apache.org/user-stories.html Good point! Added to user stories. Cheers. -- Henryk Konsek http://about.me/hekonsek

TypeConverter with generics

2015-03-09 Thread Tim Dudgeon
I may be missing something obvious here, but I'm can't find a way to do a type conversion that uses generics. For instance, I want to do a conversion of an InputStream into a Collection of Foo objects. So my convert method might look like this: @Converter public ListFoo

CXF - Problem with generated WSDL

2015-03-09 Thread IgnatiusReilly
Hi, I am having trouble with the CXF component. I've developed a WebService using a code-first approach. The service works as expected except for the answer it returns to the caller: Message part BackgroundReports was not recognized. (Does it exist in service WSDL?) BackgroundReports is the

Re: Using client_acknowledgement mode in route query

2015-03-09 Thread gilboy
I am using camel spring DSL. Hence, not sure how I acknowledge the message myself -- View this message in context: http://camel.465427.n5.nabble.com/Using-client-acknowledgement-mode-in-route-query-tp5760618p5763863.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: On Route Completion when using the aggregator

2015-03-09 Thread majid
Hi Harald, Yes, it is working :) Thanks for the trick -- View this message in context: http://camel.465427.n5.nabble.com/On-Route-Completion-when-using-the-aggregator-tp5763746p5763869.html Sent from the Camel - Users mailing list archive at Nabble.com.

Request throttling queue limit based on client id.

2015-03-09 Thread ganeshraut
I am fairly new to Camel have a specific requirement around throttling. Here is the scenario: A servlet endpoind is serving requests from 1000 clients. A custom setting for each client is maintained around maximum concurrent requests that can be processed and the maximum number of messages that

HTTPS endpoint polling Camel

2015-03-09 Thread divakar109
Hi guys, I am extremely new to Camel, I need to configure an HTTPS endpoint in camel so that I could consume data out of that using ConsumerPolling pattern. Is there a starting point or some place where I could get this information? Please help -- View this message in context:

Re: How to setHeader reponse code ?

2015-03-09 Thread Frankiboy
Thanks -- View this message in context: http://camel.465427.n5.nabble.com/How-to-setHeader-reponse-code-tp5763820p5763867.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel multicast and exception

2015-03-09 Thread Desu, Kishore Kumar
Hi, Below route is giving exception with stackTrace and I want to restrict it to provide only a message instead of stackTrace. Please me to fix it. --- route id=GetEvent from uri=restlet:///event/{eventId}?restletMethod=PUT /

Re: Camel multicast and exception

2015-03-09 Thread Claus Ibsen
Hi You can turn this off on the error handler. It has many options to turn this on | off. You set LogStackTrace = false http://camel.apache.org/redeliverypolicy.html On Mon, Mar 9, 2015 at 10:18 AM, Desu, Kishore Kumar kishorekumar.d...@mckesson.com wrote: Hi, Below route is giving exception

How to setHeader reponse code ?

2015-03-09 Thread Frankiboy
When my endpoint is down, i want to create a soap fault, and set the reponse code to 504. What you cant see, is that on the endpoint have a: ?throwExceptionOnFailure=false My Route: from(direct:channel2).onException(Exception.class).handled(true). process(new