Can i get the Operation name from camel.

2015-03-03 Thread Frankiboy
Im using CXF, im would like to log the operation name. Is there a easy way to get the operation name, from the exchange or ? Frank -- View this message in context: http://camel.465427.n5.nabble.com/Can-i-get-the-Operation-name-from-camel-tp5763459.html Sent from the Camel - Users mailing l

Re: Can i get the Operation name from camel.

2015-03-03 Thread Morgan Hautman
Frank, http://stackoverflow.com/questions/10301895/calling-cxf-webservice-through-apache-camel Regards, Morgan On 3/03/2015 9:27, Frankiboy wrote: Im using CXF, im would like to log the operation name. Is there a easy way to get the operation name, from the exchange or ? Frank -- View thi

Re: Sql camel component iteration very slow

2015-03-03 Thread angelo.rlcosta
Hi yogu13, as per my understanding this is related to the camel sql component version 2.10. AFAIK there has been some improvements in this sense in 2.14 which i will try use. Thanks for the input. -- View this message in context: http://camel.465427.n5.nabble.com/Sql-camel-component-iteratio

Re: Can i get the Operation name from camel.

2015-03-03 Thread Jean-Baptiste Onofré
Hi Frank, it depends the data format that you use on the CXF endpoint. Using the default data format (Message), you can retrieve the operation name from the CxfConstants.OPERATION_NAME header: String operation = (String)exchange.getIn().getHeader(CxfConstants.OPERATION_NAME); Regards JB O

Re: WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught org.apache.sshd.common.SshException: MAC Error

2015-03-03 Thread Jean-Baptiste Onofré
Hi Gary, this error is a bug in sshd 0.9.0. It has been fixed in 0.10.0. Which Camel version are you using ? Camel 2.13.3 uses sshd 0.10.1 (including the fix). Regards JB On 03/02/2015 11:27 PM, Gary wrote: org.apache.sshd.common.SshException: MAC Error -- Jean-Baptiste Onofré jbono...@apac

Re: Can i get the Operation name from camel.

2015-03-03 Thread Frankiboy
Nt route starts like this: from("cxf:bean:hubws?dataFormat=MESSAGE").streamCaching This give me null in the operation name... Message in = exchange.getIn(); String operation = (String)in.getHeader(CxfConstants.OPERATION_NAME); Maybe becouse the dataFomat is MES

Re: Can i get the Operation name from camel.

2015-03-03 Thread Morgan Hautman
Frank, http://camel.apache.org/cxf.html "SOAP headers are not available in MESSAGE mode as SOAP processing is skipped." So the answer to you question is "yes". Regards, Morgan On 3/03/2015 11:02, Frankiboy wrote: Nt route starts like this: from("cxf:bean:hubws?dataFormat=MESSAGE")

Re: Can i get the Operation name from camel.

2015-03-03 Thread Jean-Baptiste Onofré
it's what I said (sorry if I'm not clear): CXF_Message/Payload/POJO is OK, not Message. Regards JB On 03/03/2015 11:02 AM, Frankiboy wrote: Nt route starts like this: from("cxf:bean:hubws?dataFormat=MESSAGE").streamCaching This give me null in the operation name... Message

Re: Can i get the Operation name from camel.

2015-03-03 Thread Morgan Hautman
Jb, Sorry to correct you but the default dataFormat is POJO. Regards, Morgan On 3/03/2015 10:22, Jean-Baptiste Onofré wrote: Hi Frank, it depends the data format that you use on the CXF endpoint. Using the default data format (Message), you can retrieve the operation name from the CxfConsta

Re: Can i get the Operation name from camel.

2015-03-03 Thread Jean-Baptiste Onofré
Yes, it's not what I said ? If not, sorry about that (too much things in the same time ;)). Regards JB On 03/03/2015 11:11 AM, Morgan Hautman wrote: Jb, Sorry to correct you but the default dataFormat is POJO. Regards, Morgan On 3/03/2015 10:22, Jean-Baptiste Onofré wrote: Hi Frank, it dep

Re: Can i get the Operation name from camel.

2015-03-03 Thread Frankiboy
Thanks all for a fast reply Frank -- View this message in context: http://camel.465427.n5.nabble.com/Can-i-get-the-Operation-name-from-camel-tp5763459p5763482.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread Steven Marcus
My project is using 2.15 snapshot because it relies on the new camel-spring-boot component. The latest snapshot breaks both my unit tests and my app. The latest snapshot isn't finding all my routes defined in @Configuration classes. I've had to revert and lock to 2.15-20150210.025549-156 for the

Re: WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught org.apache.sshd.common.SshException: MAC Error

2015-03-03 Thread Gary
Jean!!! you're a life saver, you made my day! thank you so much, how did you know that or find that I've been looking, anyhoot, THANK YOU!!! -- View this message in context: http://camel.465427.n5.nabble.com/WARN-org-apache-sshd-client-session-ClientSessionImpl-Exception-caught-org-apache-sshd

Re: java.util.zip.ZipException: error in opening zip file

2015-03-03 Thread Gonzalo Vásquez Sáez
Dear Claus, We've downgraded Camel to 2.13.3, but same error still appears, this is the stacktrace: Message History --- RouteId ProcessorId P

Problem with Message Order using Camel, JMS, and CXF

2015-03-03 Thread g8torPaul
All, I have the following Camel Route: AMQ JMS Queue 1 --> CamelTransport (Direct) --> Camel-CXF Endpoint --> AMQ JMS Queue 2 The problem is that messages are arriving in JMS Queue 2 *out of order*. The cause of the problem appears to be due to the fact that Camel CXF is processing messages us

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread shreyas
Steven,  Please follow this JIRA: https://issues.apache.org/jira/browse/CAMEL-8427 It fixes unit tests, but I am not sure how to use this with camel Main any more as I was doing: camelMain.addRouteBuilder(new SFTPRouteBuilder) and ScalaRouteBuilder expects a context.  ..Shreyas.. --

Re: Sql camel component iteration very slow

2015-03-03 Thread angelo.rlcosta
Hi everyone, i've just tested with apache camel 2.14 but the issue still happens. Any idea why accessing ${body[0]} is slow? Note that accesing ${body} is very fast. Thanks again, -- View this message in context: http://camel.465427.n5.nabble.com/Sql-camel-component-iteration-very-slow-tp5763

Re: Metrics Component generating info messages

2015-03-03 Thread Derek Bassett
Great, Thank you! Derek Derek Bassett | Senior Software Engineer THIS TECHNOLOGY 1444 Wazee Street, Suite 310 Denver, CO 80202 thistechnology.com Watch where we can take TV. EVERYWHERE. On Mar 2, 2015, at 10:48 PM, Claus Ibsen mailto:claus.ib...@gmail.com>> wro

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread shreyas
For anyone looking for a scala solution, for Main: http://bit.ly/1B5cmJh (in tooling, scala archetype) Thanks a lot Claus!! -Shreyas Purohit > From: shreyas.puro...@hotmail.com > To: users@camel.apache.org > Subject: RE: Latest 2.15 snapshot breaks my un

Exchange timeout Mina2 issues

2015-03-03 Thread sykomaniac
Hi, I'm using Camel to pull a message from a queue and send it to a remote server using MINA2. I've configured the endpoint like so: String endpoint = baseEndpoint.copy() .setQueue(entry.Route + "." + entry.Party + ".#") .setRoutingKey(entry.Route + "."

Camel M2M gateway project

2015-03-03 Thread Henryk Konsek
Hi, For those interested in the Internet Of Things and M2M - I started a small project called "Camel M2M gateway" [1]. I want it to be the landing page for the Camel enthusiast interesting in putting Camel into small-medium processing devices like Raspberry Pi, BeagleBone Black and so forth. This

Re: Camel-springws with custom HTTP header

2015-03-03 Thread Sag21
Hey Bilgin, Do you have any idea how we can send the acknowledgment like HTTP Status codes to client in Spring WS. Do we have to use the client Interceptor for that. Suppose if we have to change the HTTP status code to something else is it possible to handle that in HandleResponse method - Changin

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread Steven Marcus
Hello, I don't have the camel-scala component in my pom.xml -- although it is a mixed language project with some Scala code. So the breakage I reported in my unit/integration tests and in my app are unrelated to 8427? Thanks for the update though -- good to know. Steven -- View this message

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread Shreyas Purohit
Yeah, then it is unrelated. What errors are you seeing in your unit tests? Can you attach a small sample failing test.On Mar 3, 2015 2:45 PM, Steven Marcus wrote: > > > Hello, > > I don't have the camel-scala component in my pom.xml -- although it is a > mixed language project with some Scala

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread Steven Marcus
Hello, The code for one of the tests that broke is copied below. The failure is at require(camelContext.hasEndpoint(PROBE_START) != null, PROBE_START) So it appears that FFProbeRouteTestConfig is not getting injected into the context correctly/at the right time anymore. Works ok when I lock to

Re: Camel M2M gateway project

2015-03-03 Thread Claus Ibsen
Hi Yay great to hear about Camels on smaller devices. Maybe add a link to your project from the Camel user stories / articles or somewhere relevant? http://camel.apache.org/user-stories.html http://camel.apache.org/articles.html On Tue, Mar 3, 2015 at 9:36 PM, Henryk Konsek wrote: > Hi, > > For

Re: camel-mina2 Producer hang while stopping a route

2015-03-03 Thread Claus Ibsen
Hi If you have a chance then maybe try testing with Camel 2.12.1 and upgrade Mina from 2.0.7 to 2.0.9 to see if you experience any difference. And the try Camel 2.14.x with Mina 2.0.7 etc. To see if you can pin point if a change in mina itself or camel-mina2 likely caused this. Also checking the