Re: Trouble with split/tokenize on linux

2012-10-29 Thread Christian Müller
Which carset do you use? Did you set this charset as Exchange Property? Best, Christian Sent from a mobile device Am 30.10.2012 03:00 schrieb "Denis S" : > I turned on TRACE logging for Camel. As I can see, many lines were > processed > correctly. But at some point > it returns a 'broken' line a

Re: Problem With Camel Aggregator

2012-10-29 Thread Claus Ibsen
On Tue, Oct 30, 2012 at 2:59 AM, gtesta13 wrote: > Hi, > I have a route that looks like this: > > from("cxf:bean:personasEndpoint").to("ReqPreProcessor").to("seda:a?multipleConsumers=true"); > from("seda:a").to("CXFProcessor1").to("cxf:bean:Consulta1Service").to("direct:b"); > from("seda:a").to("C

Problem With Camel Aggregator

2012-10-29 Thread gtesta13
Hi, I have a route that looks like this: from("cxf:bean:personasEndpoint").to("ReqPreProcessor").to("seda:a?multipleConsumers=true"); from("seda:a").to("CXFProcessor1").to("cxf:bean:Consulta1Service").to("direct:b"); from("seda:a").to("CXFProcessor2").to("jdbc:pgDS").to("direct:b"); from("direct:b

Re: Trouble with split/tokenize on linux

2012-10-29 Thread James Carman
Could it be a line terminator issue, perhaps? On Mon, Oct 29, 2012 at 1:31 PM, Denis S wrote: > I turned on TRACE logging for Camel. As I can see, many lines were processed > correctly. But at some point > it returns a 'broken' line after the tokenizer and the line can't be parsed > by CSVParser:

Re: Trouble with split/tokenize on linux

2012-10-29 Thread Denis S
I turned on TRACE logging for Camel. As I can see, many lines were processed correctly. But at some point it returns a 'broken' line after the tokenizer and the line can't be parsed by CSVParser: 2012-10-29 12:51:28.634 [Camel (import-context) thread #6 - file://../import] TRACE org.apache.camel.

Re: Jetty Consumer maxThreads

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 5:04 PM, cgsk wrote: > Hello there, > > I am using Camel-jetty 2.8.2 exposing a jetty consumer which uses > bridgeEndpoint=true routing to a external HTTP endpoint. But if I hit > consecutively three url request to the jetty consumer, it only consumes one > by one. I tried

Re: Host header not set correctly with camel-http4

2012-10-29 Thread Maxime Tremblay
Thanks much, your proposed fix is working well. I opened the jira ticket https://issues.apache.org/jira/browse/CAMEL-5757for this problem. Max On Mon, Oct 29, 2012 at 5:14 AM, Claus Ibsen wrote: > On Fri, Oct 26, 2012 at 9:01 PM, Maxime Tremblay > wrote: > > Hi All, > > > > I just have to swi

Jetty Consumer maxThreads

2012-10-29 Thread cgsk
Hello there, I am using Camel-jetty 2.8.2 exposing a jetty consumer which uses bridgeEndpoint=true routing to a external HTTP endpoint. But if I hit consecutively three url request to the jetty consumer, it only consumes one by one. I tried with minThreads and maxThreads options in the jetty consu

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread Christian Müller
Could you check whether this issue also exists with ActiveMQ 5.7.0!? Best, Christian Sent from a mobile device Am 29.10.2012 13:52 schrieb "anaCortes" : > > The messages should be consumed if its JMSCorrelationID matches a id > > that was sent from a request. > > Where is this checking done? I c

Queue Browsing in distributed queue Env

2012-10-29 Thread ambarish.d
Hello All, Sorry for re-posting as my previous post was abducted by an another academics topic. tI am using Apache ActiveMQ distributed queues, on executing endPoint.getExchanges(), I am actually getting messages from a random broker where camel is connected now. JmsQueueEndpoint endPoint = cam

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
Original-Nachricht > Datum: Mon, 29 Oct 2012 13:20:09 +0100 > Von: Claus Ibsen > An: users@camel.apache.org > Betreff: Re: Camel context autostartup > On Mon, Oct 29, 2012 at 1:09 PM, Benjamin Graf > wrote: > > The "poor" OSGi runtime is JBoss OSGi which is still a technology

Re: Our paper on Apache Camel

2012-10-29 Thread Claus Ibsen
Hi Ramkumar On page 2, section I, you have literature review. Did you not look at published books for the various projects? Both Camel, Mule and Spring Integration have books on the matter. IMHO this is a quality sign of a project when books have been published, or are in the works. http://camel.a

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread anaCortes
> The messages should be consumed if its JMSCorrelationID matches a id > that was sent from a request. Where is this checking done? I could take a look at the code. > It uses JMSSelector to match which messages to pickup as reply > messages, that matches JMSCorrelationID set on sending the req

How to shutdown AggregationStrategy when there is no InFlight exchange

2012-10-29 Thread ladoe00
Hi, my application is running inside OSGi and I am using an AggregationStrategy that will write data to a file. While this file is being "aggregated", it's location is in a temp directory and when the aggregation times out or completes, we move the file to the application's output directory.

Re: Camel context autostartup

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 1:09 PM, Benjamin Graf wrote: > The "poor" OSGi runtime is JBoss OSGi which is still a technology preview but > is a feature of JBoss AS7. > > I know Karaf but it is no alternative for me. Might change sometime if karaf > has been integrated into JBoss. > > May be the Fus

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
The "poor" OSGi runtime is JBoss OSGi which is still a technology preview but is a feature of JBoss AS7. I know Karaf but it is no alternative for me. Might change sometime if karaf has been integrated into JBoss. May be the Fuse (RedHat) guys out there can tell something about that! ;-)

Re: Trouble with split/tokenize on linux

2012-10-29 Thread Denis S
Hi Willem, Thanks for the help. Unfortunatelly, the issue still remains. I checked the files and see that all lines are terminated with \0a properly. Is it possible the issue is not in the broken line, but in the subsequent lines which contain some special characters? Thanks, Denis -- View t

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 12:30 PM, anaCortes wrote: > Hi Claus, > > thank you for your quick answer. > > With the option to do more frequent polling, do you mean the receiveTimeout > option? > Yes. > We are using this option to 250, so this should poll messages every 250 ms. > I don´t understand

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread anaCortes
Hi Claus, thank you for your quick answer. With the option to do more frequent polling, do you mean the receiveTimeout option? We are using this option to 250, so this should poll messages every 250 ms. I don´t understand why some messages are always stuck on the reply queue if the next message

Re: Camel context autostartup

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 11:36 AM, Benjamin Graf wrote: > > Original-Nachricht >> Datum: Mon, 29 Oct 2012 10:30:36 +0100 >> Von: Claus Ibsen >> An: users@camel.apache.org >> Betreff: Re: Camel context autostartup > >> On Mon, Oct 29, 2012 at 10:25 AM, Benjamin Graf >> wrote: >>

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
Original-Nachricht > Datum: Mon, 29 Oct 2012 10:30:36 +0100 > Von: Claus Ibsen > An: users@camel.apache.org > Betreff: Re: Camel context autostartup > On Mon, Oct 29, 2012 at 10:25 AM, Benjamin Graf > wrote: > > Hi Claus, > > > > thanks so far. But does any method exists to av

Re: external scheduler integration

2012-10-29 Thread Claus Ibsen
On Sun, Oct 28, 2012 at 5:26 PM, bung_ho wrote: > Thanks for the reply. The message queue is a good idea but obviously it will > take a little more work on the scheduler side to implement, not sure if I > can get the help from that side in order to do it. I will consider this as > the "proper" app

Re: JMS Component - Activation Spec

2012-10-29 Thread Claus Ibsen
On Thu, Oct 25, 2012 at 1:49 AM, Patrick Bray wrote: > Hi All, > > I know this question has been raised previously on Stack Overflow but I > couldn't find an answer so thought I would raise it here. > > Is it possible to connect the Apache Camel JMS Component to an Activation > Spec? > camel-jms

Re: Urgent help needed on PGP decryption - error setting asymmetric cipher

2012-10-29 Thread Claus Ibsen
Hi Maybe you are hit by FAQ #1 http://www.bouncycastle.org/wiki/display/JA1/Frequently+Asked+Questions I am not sure though. If you are hit by the key length export restrictions on the JDK. Also have you googled that exception and found some answers on that. And what JDK and OS are you using? A

Re: Trigger start/stop/resume/suspend of a camel route using queue, db

2012-10-29 Thread Claus Ibsen
On Thu, Oct 25, 2012 at 4:06 PM, rajasekar wrote: > Hi , > > Can you provide me some sample of camel context which uses suspend and > resume route . > > I have requirement to suspend a route ( in a camel-context.xml ) when n > number errors occurred calling a http endpoint and stop consuming messa

Re: Camel context autostartup

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 10:25 AM, Benjamin Graf wrote: > Hi Claus, > > thanks so far. But does any method exists to avoid auto starting context > using Spring OSGi with bundles activated? > No, but you can if possible just dont start the bundle itself. And then start the bundle to start Camel.

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
Hi Claus, thanks so far. But does any method exists to avoid auto starting context using Spring OSGi with bundles activated? Benjamin Original-Nachricht > Datum: Mon, 29 Oct 2012 09:33:49 +0100 > Von: Claus Ibsen > An: users@camel.apache.org > Betreff: Re: Camel context autos

RE: [Question] Seems wireTap will always copy the origin Message

2012-10-29 Thread liugang
Got it , thanks. GangLiu Skype: gang.liu.talendbj -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Monday, October 29, 2012 4:49 PM To: users@camel.apache.org Subject: Re: [Question] Seems wireTap will always copy the origin Message On Fri, Oct 26, 2012 at 11:19

Re: Host header not set correctly with camel-http4

2012-10-29 Thread Claus Ibsen
On Fri, Oct 26, 2012 at 9:01 PM, Maxime Tremblay wrote: > Hi All, > > I just have to switch to camel-http4 for some request proxying whit > bridgeEnpoint=true. > > Now I have the problem that the Host header is not set correctly in the > HTTP request. > The original Host is put instead of the targ

Re: Our paper on Apache Camel

2012-10-29 Thread Claus Ibsen
Hi Thanks for sharing the paper with the Camel community. I just quickly read the paper. Seems you guys had taken the proper time to do your investigations. Just a note. The conference is named CamelOne, not Apache CamelOne. Would the paper be published officially in the future? If so let us know

Re: [Question] Seems wireTap will always copy the origin Message

2012-10-29 Thread Claus Ibsen
On Fri, Oct 26, 2012 at 11:19 AM, liugang wrote: > Hi: > > Thanks for your quick reply, I have fired a bug > https://issues.apache.org/jira/browse/CAMEL-5746 . > > And one more question: > > The maven dependencies of camel-saxon were changed from 2.9.3 to 2.10.2 , > and on 2.10.0, the dependencies

Re: secondary dynamic endpoint to retrieve an item attached

2012-10-29 Thread Claus Ibsen
Hi See the doneFileName option http://camel.apache.org/file2 On Sat, Oct 27, 2012 at 8:46 PM, sekaijin wrote: > hello, > > I receive messages via MLLP containing the name of a file that I must > retrieve and link attachment in the message. > > I looked for a pattern to retrieve the attachment

Re: Camel context autostartup

2012-10-29 Thread Claus Ibsen
The autostartup options is for controlling if *routes* should be auto started or not. Not the actual CamelContext itself. The naming could have been better, but the option was first on and then later inherited on to make a single switch. On Sat, Oct 27, 2012 at 4:57 PM, Benjamin Graf wrote: >

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 9:18 AM, anaCortes wrote: > Hi all, > > in my Camel project we are using ActiveMQ queues in a synchronous way. The > basic idea is that we send messages to a queue, adding replyTo=xxx.REPLY to > have a shared fixed reply queue where receive the response. > > I´ve started us

JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread anaCortes
Hi all, in my Camel project we are using ActiveMQ queues in a synchronous way. The basic idea is that we send messages to a queue, adding replyTo=xxx.REPLY to have a shared fixed reply queue where receive the response. I´ve started using JMeter to see how reacts the project with not only 1 consum