Re: [SQL Component] Transaction manager force commit

2015-02-26 Thread fabrizio.spataro
Hello everyone, To force commit you just typing ** King Regards! -- View this message in context: http://camel.465427.n5.nabble.com/SQL-Component-Transaction-manager-force-commit-tp5762948p5763193.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel blueprint support multiple mail boxes ???

2015-02-26 Thread yogu13
The xml DSL also supports multiple entries Of routes but that would be fairly static. Java DSL gives you the flexibility and dynamism for building the route. Hope this answers your question. Regards, -Yogesh On Wednesday, February 25, 2015, Gary [via Camel] < ml-node+s465427n5763168...@n5.nabble

Aggregator output not aggregated !

2015-02-26 Thread Hedi
Hello Camel users, I am using ActiveMQ and the embedded Camel "engine" that comes with it. I have to say that I am new to both (Camel and even ActiveMQ). I am trying to implement a simple message aggregator but I cannot get my aggregation strategy to work correctly. I am looking for some help on

Re: How to import camel in a java application program

2015-02-26 Thread imranrazakhan
Hi, I used same example but its giving following error public void configure() { from("jetty:http://localhost:8181/mytestservice";).process( new Processor() { @Override

Re: How to import camel in a java application program

2015-02-26 Thread Morgan Hautman
Hi, If you're using maven, org.apache.httpcomponents httpclient 4.4 On 26/02/2015 10:03, imranrazakhan wrote: Hi, I used same example but its giving following error public void configure() { from("jetty:http://localhost:8181/mytestservice";).pro

Re: How to import camel in a java application program

2015-02-26 Thread Jean-Baptiste Onofré
A NoClassDefFound is more related to classloader issue than class not found. In which container are you running your camel route ? RegardsJB Sent from my Samsung device Original message From: Morgan Hautman Date: 26/02/2015 10:10 (GMT+01:00) To: users@camel.apache.o

Re: How to import camel in a java application program

2015-02-26 Thread imranrazakhan
I am running this example standalone. I am able to run this example by adding other jars also, but to run standalone above mentioned jars are not suffice. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-import-camel-in-a-java-HTTP-server-application-program-tp471924p

createRegistry not called in CamelSpringTestSupport

2015-02-26 Thread rwijngaa
Hi, I want to register a datasource in my junit test (that extends CamelSpringTestSupport) but noticed that createRegistry is only called when directly extending from CamelTestSupport @Override protected JndiRegistry createRegistry() throws Exception { JndiRegistry jndi = super.cr

Re: camel-blueprint.xsd is not updated

2015-02-26 Thread Willem Jiang
It’s done. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On February 26, 2015 at 7:52:40 AM, Willem Jiang (willem.ji...@gmail.com) wrote: > We need to do it manual

Re: Failover with Camel CXF

2015-02-26 Thread sayed_india
Hi, Thanks for the response. I am able to resolve the compilation issue with below code but unable to test ,when I kill the process with 9000 expecting that 9001-2 should be up and running which is not, please suggest .

Re: Camel Netty Http: HttpHeaders case sensitive

2015-02-26 Thread Claus Ibsen
Hi netty http headers is case insensitive, so the check for contains should work whether you use Host or host or HOST etc. So it may be the SAP system that cannot deal with host header defined using a upper case H. On Wed, Feb 25, 2015 at 1:57 PM, cgiera wrote: > Hello, > > we are implementing

Re: Camel Netty Http: HttpHeaders case sensitive

2015-02-26 Thread Claus Ibsen
Hi There is indeed a bug, names() should be removed so we work directly on the netty http headers https://issues.apache.org/jira/browse/CAMEL-8411 On Thu, Feb 26, 2015 at 1:23 PM, Claus Ibsen wrote: > Hi > > netty http headers is case insensitive, so the check for contains > should work whether

Re: camel-metrics Component

2015-02-26 Thread Claus Ibsen
The metrics route policy is using a metrics timer to capture the data. So the data is there in the json blob you posted. https://github.com/apache/camel/blob/master/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/routepolicy/MetricsRoutePolicy.java#L46 On Thu, Feb 26, 20

Re: Getting HTTP status code as 202 always and want to override with the 200.

2015-02-26 Thread Claus Ibsen
Hi What camel components are you using for soap? On Wed, Feb 25, 2015 at 4:48 PM, Sag21 wrote: > New to camel.I have existing spring application which has soap endpoints. The > return type of soap endpoint is jdom Element. > When the processing of endpoint completes I am calling the camel proces

Re: Aggregator output not aggregated !

2015-02-26 Thread Claus Ibsen
Hi Try adding a before the Also what version of ActiveMQ and Camel do you use? On Wed, Feb 25, 2015 at 5:41 PM, Hedi wrote: > Hello Camel users, > > I am using ActiveMQ and the embedded Camel "engine" that comes with it. I > have to say that I am new to both (Camel and even ActiveMQ). > > I a

Re: Failover with Camel CXF

2015-02-26 Thread Willem Jiang
The camel route that you have just redirect the request to 3 different service endpoints with a distribution ratio. If you wants the client to access other service endpoint if it cannot access the service endpoint, you need to use the failover instead of roundRobin. -- Willem Jiang Red Hat,

Re: Aggregator output not aggregated !

2015-02-26 Thread Hedi
Hello Claus and Thanks for your answer. Regarding the versions, my ActiveMQ log shows ActiveMQ 5.10.0 and Camel 2.13.1. I have tried your suggestion ( before the ). It generates an exception when the first aggregated message is attempted to be sent on the QOUT queue (no aggregated message is sen

Re: Getting HTTP status code as 202 always and want to override with the 200.

2015-02-26 Thread Sag21
Hi Claus, Thanks for reply. I am using the spring-ws component for soap web service. The endpoint returns the Jdom Element. Camel Context is just calling the endpoint with spring-ws:rootqname:{http://www.somenamespace.org/}roottagname?endpointMapping=#endpointMapping The endpointMapping of type

Re: Camel Netty Http: HttpHeaders case sensitive

2015-02-26 Thread cgiera
Thx for the quick response and solution. kind regards, Christoph -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Netty-Http-HttpHeaders-case-sensitive-tp5763157p5763231.html Sent from the Camel - Users mailing list archive at Nabble.com.

ActiveMQ Request-Reply in flight messages

2015-02-26 Thread Corey Pentasuglia
Hello, I am having some trouble with some ActiveMQ/JMS Camel routes. Essentially, this is what I have: Producer End: from(direct:name).inOut(activemq:queue:name.job) Consumer End: from(activemq:queue:name.job?concurrentConsumers=1&destination.consumer.prefetchSize=0&jmsMessageType=Object&destinati

Issues in File polling with Camel 2.10 and Linux 5.9 and above

2015-02-26 Thread malolan
HI All, We are using apache camel 2.10 in our application. The camel component polls a folder for file processing and applies a camel lock when it has picked a file for processing. The camel component and our application runs in Red Hat Linux OS We FTP files from Windows machine to the polling

Re: camel blueprint support multiple mail boxes ???

2015-02-26 Thread Gary
Thanks again Yogu13!!! got it:). have a great day and thanks for responding so quickly and being helpful. appreciate your help. -- View this message in context: http://camel.465427.n5.nabble.com/camel-blueprint-support-multiple-mail-boxes-tp5763126p5763234.html Sent from the Camel - Users m

Re: How to trap most specific exceptions?

2015-02-26 Thread James Green
Doesn't it have something to do with the order in which onException is given in the DSL? I.e. reverse the lines of code and it should work? I could be wrong... On 25 February 2015 at 14:29, Claus Ibsen wrote: > Hi > > If you have a copy of Camel in Action its explained in much detail in > chapte

Re: camel-metrics Component

2015-02-26 Thread vivekt
Hello Claus, Thank you for your quick reply. I do see that the metrics route policy is using a metrics timer to capture the data. But it does not have the counters values which I am using in the blueprint context. Do I have to write my own MetricsRoutePolicy (or extend it) so that all the counte