Request to multiple routes

2016-03-29 Thread Raghuveer
I have around 8 routes to call one after another. Can I set request to first route and set the response to same request so that will become request to next route and go on..? Or the suggested way of doing is each route to have its own request and response? -- View this message in context:

Re: netty4-http: IllegalArgumentException: port out of range:-1

2016-03-29 Thread kuro
https://github.com/apache/camel/blob/camel-2.17.0/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpComponent.java#L138 This L138 sets port number "-1" (config.setPort(-1);) -- View this message in context:

netty4-http: IllegalArgumentException: port out of range:-1

2016-03-29 Thread kuro
camel 2.17.0 @Override public void configure() throws Exception { from("direct:in") .setHeader(Exchange.HTTP_METHOD, constant("GET")) .to("netty4-http:http://camel.apache.org/;) .to("log:test"); }

Re: Best Strategy to process a large number of rows in File

2016-03-29 Thread Ranx
I think you're hitting a lot of good points there. I'm not used to CSVs with 100 columns of data but can see why that could get huge. If she starts with SEDA and just sets a queue size of something like 100 or 200 and then sets blockWhenFull to true her streaming will halt until the queue can

Re: PDF/A files using Camel FOP component

2016-03-29 Thread Bilgin Ibryam
Can you try to set the following header and see if it works CamelFop.Render.pdf-a-mode: "PDF/A-1b" HTH, B On 29 March 2016 at 09:46, Laurentiu Trica wrote: > Hello, > > I need to generate PDF/A files using Camel FOP component. > I don't see anything about the

Re: Best Strategy to process a large number of rows in File

2016-03-29 Thread Jens Breitenstein
Sorry Ranx, missed your previous post. From our experience: We ran into OOM troubles with CVS files when converting a row to Map for example. Depending on the number of columns (we have aprox 100+) this can quite easily eat up the entire memory (sure you can always provide

Re: Is there a Camel componant to connect to vpn (Uregen)?

2016-03-29 Thread Walzer, Thomas
If you have activemq within your firewall boundaries: just connect to it by whatever means (tcp, stomp,…) you have. If it is outside: make a vpn tunnel connection there or use ssl. > Am 29.03.2016 um 16:18 schrieb hoboy : > > Externalize it. Means: it is not a Camel problem.

Re: Best Strategy to process a large number of rows in File

2016-03-29 Thread Ranx
Jens, That's why I suggested setting the limit on the queue size. She has streaming turned on already so I believe that will block when the queue (SEDA or JMS) gets full. But 50,000 objects isn't usually that much memory so there may be something else in the JMS settings that is actually

camel 2.16.2 distributed tracing

2016-03-29 Thread kumar5
I am using camel 2.16.2. how in interceptor code I will be knowing that new thread is created and that created thread is closed . because I want to use spring sleuth for distributed tracing and I have to create new span in camel interceptor every new thread and close span when that particular

Camel hibernate Composite Key Issue

2016-03-29 Thread gurmehar . kalra
Hi, Facing Issue while trying to use composite key in "hbm.xml", getting erro as at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:101) Tried every possible solution avaliable on First 15 links of Google. -- Regards, Gurmehar Singh

Re: Best Strategy to process a large number of rows in File

2016-03-29 Thread Jens Breitenstein
259 ExchangePattern InOnly Headers {breadcrumbId=IMP-IF-Ingestate-20160329-093400, CamelFileAbsolute=true, CamelFileAbsolutePath=C:\CRT-2.0\IF-Ingestate\inbox\Edenred_15092015.csv, CamelFileContentType=application/vnd.ms-excel, CamelFileLastModified=1458774180380, CamelFileLength=6961

camel 2.17 seda not logging exception

2016-03-29 Thread kumar5
When I use “seda” if any exception throws in that route then exception is not logging on console and message history also not printing on console. I have missing any thin on this. RoutesBuilder kafkaRoute() { return new RouteBuilder() {

RE: Camel 2.17 Kafka SSL Producer and Consumer

2016-03-29 Thread Vanshul . Chawla
Sure Thanks. Producer works and even SSL params are working fine. Consumer starts and doesn’t consume as such. Any code in documentation link will he helpful. -Original Message- From: Gerard Klijs [mailto:gerard.kl...@dizzit.com] Sent: Tuesday, March 29, 2016 10:38 AM To:

Re: Camel 2.17 Kafka SSL Producer and Consumer

2016-03-29 Thread Gerard Klijs
I already posted some code used with Camel 2.17 release candidate to produce topics, using ssl and the schema registry. We will actually try the consumer this sprint, so I could post some example in this thread if we get it to work. When producing I get the following warnings (which does not seem

Re: Best Strategy to process a large number of rows in File

2016-03-29 Thread Ranx
There are a number of answers to that question but this should be relatively easy to fix. Since you are running out of memory you should probably bump the max memory in the karaf startup batch file. But you will also want to limit the number of rows that you bring into memory. You already have

Re: AW: AW: Is there a Camel componant to connect to vpn (Uregen)?

2016-03-29 Thread hoboy
Externalize it. Means: it is not a Camel problem. Setup the vpn of your choice outside of Camel. ok does that one can connect to activeMQ with jms ? because I have some camel rest services that put some data into jboss activemq. and I want to get access to the queue Thanks -- View this message

AW: AW: Is there a Camel componant to connect to vpn (Uregen)?

2016-03-29 Thread Walzer, Thomas
Externalize it. Means: it is not a Camel problem. Setup the vpn of your choice outside of Camel. -Ursprüngliche Nachricht- Von: hoboy [mailto:luc...@yahoo.com] Gesendet: Dienstag, 29. März 2016 15:06 An: users@camel.apache.org Betreff: Re: AW: Is there a Camel componant to connect to

Re: setting logExhaustedMessageBody in Spring xml

2016-03-29 Thread Preben.Asmussen
Logged https://issues.apache.org/jira/browse/CAMEL-9772 I will have a peek at it and work on a PR. Best, Preben -- View this message in context: http://camel.465427.n5.nabble.com/setting-logExhaustedMessageBody-in-Spring-xml-tp5779942p5779967.html Sent from the Camel - Users mailing list

Re: AW: Is there a Camel componant to connect to vpn (Uregen)?

2016-03-29 Thread hoboy
Thanks (Unless you define ssh as a vpn the answer is no. ) How does one usually deal with vpn in camel ? -- View this message in context: http://camel.465427.n5.nabble.com/Is-there-a-Camel-componant-to-connect-to-vpn-Urgent-tp5779945p5779964.html Sent from the Camel - Users mailing list

AW: Is there a Camel componant to connect to vpn (Uregen)?

2016-03-29 Thread Walzer, Thomas
Unless you define ssh as a vpn the answer is no. -Ursprüngliche Nachricht- Von: hoboy [mailto:luc...@yahoo.com] Gesendet: Dienstag, 29. März 2016 14:26 An: users@camel.apache.org Betreff: Is there a Camel componant to connect to vpn (Uregen)? Is there a Camel companent to connect to vpn

RE: Camel 2.17 Kafka SSL Producer and Consumer

2016-03-29 Thread Vanshul . Chawla
Can I please get a spring DL sample for consumer and producer uri's Producer gives this warning but works. Consumer doesn’t work. -Original Message- From: Andrea Cosentino [mailto:ancosen1...@yahoo.com.INVALID] Sent: Tuesday, March 29, 2016 7:36 AM To: users@camel.apache.org Subject:

Re: Use same db connection

2016-03-29 Thread NES
I resolve this problem by using Transactional Client. This route runs as expected so far. if you tell me more efficient solution, I would appreciate. -- View this message in context: http://camel.465427.n5.nabble.com/Use-same-db-connection-tp5779853p5779949.html Sent

Re: Camel 2.17 Kafka SSL Producer and Consumer

2016-03-29 Thread Andrea Cosentino
We migrate Kafka to 0.9.x version and pass completely to the Java API. The configuration changed in this upgrade. -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2

Camel 2.17 Kafka SSL Producer and Consumer

2016-03-29 Thread Vanshul . Chawla
Hello All, When I start my producer and consumer for a SSL enabled topic, I get following warning and it doesn't produce or consume anything. [pache.camel.spring.Main.main()] ConsumerConfig WARN The configuration ssl.truststore.password = changeit was supplied but isn't a

Is there a Camel componant to connect to vpn (Uregen)?

2016-03-29 Thread hoboy
Is there a Camel companent to connect to vpn ? -- View this message in context: http://camel.465427.n5.nabble.com/Is-there-a-Camel-componant-to-connect-to-vpn-Uregen-tp5779945.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Netty bi directional communication

2016-03-29 Thread Jagannath Naidu
Hi List, On 28 March 2016 at 16:51, Jagannath Naidu < jagannath.na...@fosteringlinux.com> wrote: > CORRECTION > > On 28 March 2016 at 16:24, Jagannath Naidu < > jagannath.na...@fosteringlinux.com> wrote: > >> Hi List, >> >> I am again stuck in a situation. :-D >> >> ENVIRONMENT >> >> I am

Re: setting logExhaustedMessageBody in Spring xml

2016-03-29 Thread Claus Ibsen
Hi Yeah good idea, you are welcome to log a JIRA and work on a PR also. You can possible look at how its implemented for the message history and copy/paste - there is a bit of code needed. On Tue, Mar 29, 2016 at 1:27 PM, Preben.Asmussen wrote: > Hi > > In v. 2.17.0 the body and

setting logExhaustedMessageBody in Spring xml

2016-03-29 Thread Preben.Asmussen
Hi In v. 2.17.0 the body and header is not logged by default by the errorhandler. To get the old behaviour back where the message history is loggend including the exchange header/body in Spring xml it seems that I have to declare quite a bit of extra wirering. See foo and bar beans.

Re: Start CamelContext in the Jar

2016-03-29 Thread kosalads
After doing some research and going through some useful sites found a way to handle this. I have given the detail level answer in the below link. How to use same CamelContext in multiple jar on the same war

Re: Camel ftp component : JSCH-0.1.44 Vs OpenSSH_6.6.1 issue: Leads to error : com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read

2016-03-29 Thread Claus Ibsen
Hi This is a very old version of Fuse ESB with older version of Apache Camel. You can contact the vendor of that product to ask them about what support offerings they have. Here at Apache Camel we do not support the product of those vendors, and the Camel version they use is also no longer

Re: Camel ftp component : JSCH-0.1.44 Vs OpenSSH_6.6.1 issue: Leads to error : com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read

2016-03-29 Thread sharma_arun_se
Hi, Do let me know, if you need additional information. - Regards, Arun Kumar (sharma_arun_se) Expert SOA (Fuse ESB, Camel, ActiveMQ, OSGi) and RESTful Solution Architect, Open Source Contributor. linkedin: http://in.linkedin.com/in/aronkumar twitter:

PDF/A files using Camel FOP component

2016-03-29 Thread Laurentiu Trica
Hello, I need to generate PDF/A files using Camel FOP component. I don't see anything about the PDF/A standard in the documentation: http://camel.apache.org/fop.html Can this be done? Apache FOP can do this: https://xmlgraphics.apache.org/fop/1.1/pdfa.html Can I use the CamelFop.Output.Format

Re: Best Strategy to process a large number of rows in File

2016-03-29 Thread Michele
nge --- Exchange[ Id ID-FGBAL201530-50191-1459236743101-1-259 ExchangePattern InOnly Headers {breadcrumbId=IMP-IF-Ingestate-20160329-093400, CamelFileAbsolute=t