Re: ACK and NAK using MINA Component

2014-12-03 Thread Claus Ibsen
Hi Sounds like you need to develop a custom mina codec to implement that message protocol exchange. Check the mina documentation, and there is also camel-hl7 which implements the hl7 protocol with mina On Wed, Dec 3, 2014 at 7:28 AM, madhuri@atrium madh...@atrium-tech.com wrote: Hi, I am new

Re: Starting a rout once on start and then always at 3am

2014-12-03 Thread dermoritz
thanks in meanwhile i took the 2 routes way. it's working fine and fits well. but i 'll think about your three route approach. -- View this message in context: http://camel.465427.n5.nabble.com/Starting-a-rout-once-on-start-and-then-always-at-3am-tp5759767p5760018.html Sent from the Camel -

Re: rest client - post a json content to and http enpoint

2014-12-03 Thread Willem Jiang
camel-http[1] and camel-http4[2] can do the work for you. [1]https://camel.apache.org/http [2]https://camel.apache.org/http4 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo:

RE: HTTP responses time out

2014-12-03 Thread Gustav Sinder
Hi again, We did some tcp dumps and found that Camel starts sending the payload back to the client. It sends a few packets but then just stops without closing the connection leaving the client hanging. Strange enough when looking at the Context in Hawtio, Camel considers the transaction to be

Duplicate Elimination

2014-12-03 Thread contactreji
Hi I have a requirement where I need to omit duplicate records. Consider sample below *ExchangeRates Rate SourceCurrencyINRSourceCurrency TargetCurrencyUSDTargetCurrency ConversionFactor60.2ConversionFactor /Rate Rate SourceCurrencyINRSourceCurrency TargetCurrencyUSDTargetCurrency

Re: jdbc component streamList, last row

2014-12-03 Thread dermoritz
Thanks Claus, i found a solution for the moment: The stream list is an Iterator and i use hasNext(). If this is false it is probably the last entry. BUT the problem is that there are multiple threads with those lists. In my tests i always got 2 times hasNext()=false. -- View this message in

SpringBatchProducer and Spring DSL.

2014-12-03 Thread Santhosh T R
Hi All, I'm trying to create a POC with SpringBatch and Camel. From the available documentation on Spring Batch Component , it is learned that now camel has (from 2.11.0) the ability to pass the exchange to the Jobs/Tasks using SpringBatchProducer. In the POC we are using Spring DSL. Our

RE: HTTP responses time out

2014-12-03 Thread Gustav Sinder
Switched to Jetty instead of Restlet and it now works just fine. Not sure what the difference in functionality is though.. Regards /Gustav -Original Message- From: Gustav Sinder Sent: den 3 december 2014 10:05 To: users@camel.apache.org Subject: RE: HTTP responses time out Hi again,

Re: camel - xsd

2014-12-03 Thread smilevasu6
U there claus, please help -- View this message in context: http://camel.465427.n5.nabble.com/camel-xsd-tp576p5760019.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Duplicate Elimination

2014-12-03 Thread David Karlsen
Just combine the two currencies into one string and use that as the unique value... 2014-12-03 9:52 GMT+01:00 contactreji contactr...@gmail.com: Hi I have a requirement where I need to omit duplicate records. Consider sample below *ExchangeRates Rate SourceCurrencyINRSourceCurrency

Re: camel - xsd

2014-12-03 Thread Claus Ibsen
Hi Please dont call out on individuals. This is volunteer work to reply on the mailing list. You gotta help yourself more and dive deeper to figure out this. And check the examples and whatnot to study and learn. On Wed, Dec 3, 2014 at 9:48 AM, smilevasu6 srinivas.thu...@gmail.com wrote: U

Camel-CXF dependency with Spring

2014-12-03 Thread yogu13
Hello, I am trying to use camel's cxf component in a webapp (without spring, probably would go along with guice). I was going through the CXF dependencies in POM where in I saw that it has a explicit dependency with spring. I was wondering if there was any other way CXF could be used in camel

Re: Duplicate Elimination

2014-12-03 Thread contactreji
Thanks David A littlemore cleaner way was to use XSLT transformation. I was just interested in knowing if there is any provisions in Camel itself. Was trying to explore if idempotent consumer can work with more than 1 parameters as identifier. Following XSL code did the magic! *xsl:stylesheet

Re: Camel-CXF dependency with Spring

2014-12-03 Thread Willem Jiang
Hi  CXF and Camel have no hard dependencies of Spring. You can exclude the dependency of spring when you use the camel-cxf component. If you use java code to setup the cxf endpoints you don’t need to use any spring jars.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog:

Re: Quartz clustering in camel spring DSL - JIRA CAMEL-8076

2014-12-03 Thread Willem Jiang
Hi Selva, Thanks for sharing your patch with us. Your patch looks good to me, and I managed to reproduce the error by doing some change in the  SpringQuartzConsumerTwoAppsClusteredRecoveryTest.  I will commit the patch shortly. Regards, -- Willem Jiang Red Hat, Inc. Web:

Re: general approach to streaming

2014-12-03 Thread Tim Dudgeon
Yes, I know about SEDA, and use it quite a bit, but its not really what I'm after here. I'm wanting to pass an Iterable such as a Blocking Queue directly between processors. Tim On 28/11/2014 02:44, today wrote: Tim, the SEDA component is designed to produce/consume messages quickly and

Camel-smpp sharing single Smpp Connection for Consumer and Producer in single domain(or namespace)

2014-12-03 Thread bergun
We are using Camel-SMPP 2.13.0 component I have realised that I have no option to set a namespace in order to shared the same Smpp Connection. For instance I have tried a camel-smpp consumer and a camel-smpp producer provided with same URI definition which is

Re: general approach to streaming

2014-12-03 Thread Claus Ibsen
Hi Maybe take a look at RX Java and the camel-rx component On Wed, Dec 3, 2014 at 1:24 PM, Tim Dudgeon tdudgeon...@gmail.com wrote: Yes, I know about SEDA, and use it quite a bit, but its not really what I'm after here. I'm wanting to pass an Iterable such as a Blocking Queue directly between

camel-box does not process CamelBox.folderId as documented

2014-12-03 Thread julianc
2.14.0. The documentation says: The target folderId for the upload can be specified in the header property CamelBox.folderId. If the header is not specified the value defaults to 0 for the root folder ID. But the code actually looks for an exchange property, not a message header. The

Re: Camel file2 - get notified when the file is deleted from a directory in the idempontent mode

2014-12-03 Thread salemi
Hi Claus, I am using the following to read the files in that are added route id=configLoader autoStartup=true from uri=file://{{config.dir}}?idempotent=trueamp;delay=5000amp;noop=true/ log loggingLevel=INFO message=DSI Service Header is ${headers} \n The body is: ${body} /

Re: Camel file2 - get notified when the file is deleted from a directory in the idempontent mode

2014-12-03 Thread Claus Ibsen
Hi No the file component in camel does not trigger when files are deleted. On Wed, Dec 3, 2014 at 4:28 PM, salemi sal...@avaya.com wrote: Hi Claus, I am using the following to read the files in that are added route id=configLoader autoStartup=true from