Re: Camel Resequencer and JMs transactions

2015-05-07 Thread Claus Ibsen
Hi Yes the resequencer is memory based, and it is NOT possible to make it part of a transaction. On Fri, May 8, 2015 at 6:28 AM, amit2103 wrote: > Hi, > > My scenario is that I have 1 jms queue, from which I read with concurrent > consumeres, use resequencer and a message header to arrange the

Camel Resequencer and JMs transactions

2015-05-07 Thread amit2103
Hi, My scenario is that I have 1 jms queue, from which I read with concurrent consumeres, use resequencer and a message header to arrange the messages and then send them to another queue. Our route is transacted. Now does the sending part happen in a transaction. It seems to me that although the

Re: Proxying with Payload Format

2015-05-07 Thread Christian Müller
Something like this: https://github.com/muellerc/esbperformance/blob/master/karaf/proxy/src/main/resources/OSGI-INF/blueprint/bundle-context.xml Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer A

Re: Unmarshal not working

2015-05-07 Thread Christian Müller
Please check the available data formats in the CXF component. Best, Christian Am 07.05.2015 10:00 schrieb "jainmcs03" : > > Hi Team, > > JAXB can only unmarshall an XML if the soap envelope has already been > removed. However, the SOAP response I'm trying to unmarshall has its > namespace declara

Re: StAXSource to InputStream direct conversion

2015-05-07 Thread Claus Ibsen
Hi Yeah sounds much better if the conversion can happen more directly and faster in a streaming style. On Thu, May 7, 2015 at 4:26 PM, Aki Yoshida wrote: > Hi, > There is currently no direct type conversion from StAXSource or > XMLStreamReadder to InputStream. Am I correct? I noticed this while

Re: How to bind context properties to method parameters?

2015-05-07 Thread Claus Ibsen
Hi You can likely bind using the @Simple language and refer to the properties with an expression in the likes of something: camelContext.properties['foo'] http://camel.apache.org/simple On Thu, May 7, 2015 at 6:53 PM, toomanyedwards wrote: > Yes, we want to be able to bind to the properties on

Re: Polling DB with quartz2 stateful

2015-05-07 Thread Mansour Al Akeel
Yes, I had a look earlier at this component. But I don't understand how it solve my problem. Can you please elaborate ? On Thu, May 7, 2015 at 7:56 PM, fradj zayen wrote: > Hi, > did you tried to use sql component? > http://camel.apache.org/sql-component.html > Regards > Fradj > > 2015-05-07 15:

Re: How to bind context properties to method parameters?

2015-05-07 Thread toomanyedwards
Yes, we want to be able to bind to the properties on the CamelContext. The reason we want to do this is that we have config information that is effectively immutable for the life of the CamelContext (timeouts, db config info, etc.) and our routes depend on this info. When our routes execute we w

RE: sftp without passward, unable to connect

2015-05-07 Thread cchennupati
Hi - Can you please send me how you passed the privateKeyFile to the sftp component? I was getting same error and when i added this parameter with physical path to the private key. Thanks, Chandra -- View this message in context: http://camel.465427.n5.nabble.com/sftp-without-passward-unable

Re: Polling DB with quartz2 stateful

2015-05-07 Thread fradj zayen
Hi, did you tried to use sql component? http://camel.apache.org/sql-component.html Regards Fradj 2015-05-07 15:08 GMT+01:00 Mansour Al Akeel : > Usually I do this in plain java without using camel, however, I would > like to start using camel for similar tasks. > > I need to use stateful job t op

Re: How to bind context properties to method parameters?

2015-05-07 Thread Claus Ibsen
Hi Are you talking about properties stored on CamelContext that is hardly in use at all? Or which properties are you talking about? On Thu, May 7, 2015 at 5:04 PM, toomanyedwards wrote: > Hi all, > There are clearly defined ways to bind header and exchange property values > to method parameter

Re: Use hdfs2 component in Hadoop HA mode

2015-05-07 Thread Grzegorz Grzybek
Great you've found the solution! best regards Grzegorz Grzybek 2015-05-07 17:34 GMT+02:00 Karpov, Ilya : > Finally I figured out what was wrong: my hdfs-site.xml config was :) > In case anybody will meet this problem and find this email, minimal conf is > as follows: > 1. use hdfs2://mycluster:8

Re: Use hdfs2 component in Hadoop HA mode

2015-05-07 Thread Karpov, Ilya
Finally I figured out what was wrong: my hdfs-site.xml config was :) In case anybody will meet this problem and find this email, minimal conf is as follows: 1. use hdfs2://mycluster:8020/dir?opts 2. put hdfs-site.xml in classpath 3. minimal hdfs-site.xml content for HA: dfs.nameservices my

How to bind context properties to method parameters?

2015-05-07 Thread toomanyedwards
Hi all, There are clearly defined ways to bind header and exchange property values to method parameters via annotations as doc'd here: http://camel.apache.org/parameter-binding-annotations.html. My question is what is the best practice to bind *context* properties to method parameters. Currentl

Re: Camel Websocket - Connection key not set

2015-05-07 Thread Aki Yoshida
Yes. We need to add a NPE guard there. @Harish, The situation was caused by the fact that the socket was not established for some reason. I think you see other error trace showing this reason prior to this NPE getting thrown. Let me know if you want to work on this, need help in doing that or simp

Camel Fop - add images to PDF

2015-05-07 Thread Laurentiu Trica
Hello, I need to produce some PDF files with images. Is there a way to get the images from the classpath? I am using Camel from ServiceMix and I deploy my route using jars that already contain the images I need. How can I get make camel-fop to get the images from my jar and not from a relative/a

StAXSource to InputStream direct conversion

2015-05-07 Thread Aki Yoshida
Hi, There is currently no direct type conversion from StAXSource or XMLStreamReadder to InputStream. Am I correct? I noticed this while looking at the camel-cxf's StAXSource related xml-namespace issue (CAMEL-8663) when converting to InputStream, the conversion succeeded but went via DOM's NodeList

Re: Use hdfs2 component in Hadoop HA mode

2015-05-07 Thread Grzegorz Grzybek
please create JIRA issue, I'll investigate it then. regards Grzegorz Grzybek 2015-05-07 14:55 GMT+02:00 Karpov, Ilya : > Hi guys, > I can't find a way to use camel-hdfs2 component for Hadoop in HA mode. > I set my ha configuration in core-site.xml and hdfs-site.xml and put them > in classpath, s

Polling DB with quartz2 stateful

2015-05-07 Thread Mansour Al Akeel
Usually I do this in plain java without using camel, however, I would like to start using camel for similar tasks. I need to use stateful job t opreserve state and variable for last run. One of these variable is the ID for the last record that was processed. I have seen that some developers mark a

Use hdfs2 component in Hadoop HA mode

2015-05-07 Thread Karpov, Ilya
Hi guys, I can't find a way to use camel-hdfs2 component for Hadoop in HA mode. I set my ha configuration in core-site.xml and hdfs-site.xml and put them in classpath, set nameservice name instead of host in hdfs2 endpoint uri, finally - no luck. Is this feature supported in any way? -- *Ilya Kar

camel-context.xml getting loaded multiple times

2015-05-07 Thread sureshsg
Hi I have 3 wars running on a single tomcat instance. Each of the war has a spring application context and camel-context.xml. Again each of the war has a common library. This common library also has camel-context.xml. The error is common library's camel-context is getting loaded multiple times and

Apache zookeeper component query

2015-05-07 Thread gilboy
message. When the 1st instance shuts down the routes on the 2nd instance correctly start to fire. Is there anyway I can prevent the error being output below. I don't see that it should be output as an error Thanks Joe 20150507 08:48:30,106 BST ERROR quartz.QuartzEndpoint [DefaultQuartzSche

Re: Unmarshal not working

2015-05-07 Thread jainmcs03
Hi Team, JAXB can only unmarshall an XML if the soap envelope has already been removed. However, the SOAP response I'm trying to unmarshall has its namespace declaration on the soap envelope. So how to remove the SOAP envelope in camel route. Regards, Jayendran -- View this message in context

Re: CamelExceptionCaught not cleared after successful redelivery

2015-05-07 Thread Henryk Konsek
Hi Tom, Have you got a chance to check if the issue is still valid for the newer Camel? 2.10 is reeeally old one and it is very likely that the issue has been already solved. Cheers! czw., 7.05.2015 o 09:26 użytkownik PaSik napisał: > Hi, > > Could you guys please help me out with one thing. >

CamelExceptionCaught not cleared after successful redelivery

2015-05-07 Thread PaSik
Hi,  Could you guys please help me out with one thing.  I have a route that has an error handler configured for a specific exception with redelivery settings. When this exception is thrown the redelivery is attempted and succeeds but before the processing is continued only the exception field