Re: RecipientList or DynamicRouter or RoutingSlip

2013-12-20 Thread ABouchama
Thanks for your reply, The Dynamic RecipientList allow only to send the same messages to a Dynamic list of endpoints. My need, is to send the same message and overriding his header=Receiver following endpoints Receiver=A for endpoint =A Receiver=B for endpoint =B ...etc Thanks for help --

camel-zookeeper: ZooKeeperProducer does implement doStop()

2013-12-20 Thread Klaus Schroeder
Hi the ZooKeeperProducer class does not stop/close the Zookeeper connections properly when stopped. After closing the Camel context, the connection threads still remain active. I fixed this and pushed to github: https://github.com/klauss42/camel/commit/491e07dbb941818b00fec9cfa256931e78dd480a and

camel-zookeeper: Allow multiple Zookeeper servers in endpoint

2013-12-20 Thread Klaus Schroeder
Hi I have fixed a minor issue in the camel-zookeeper component to allow connecting to a cluster of Zookeeper servers by using the comma-separated syntax in the endpoint string. I pushed the change to github: https://github.com/klauss42/camel/commit/7f22df2cdf8da4ada20017e57259ee2967b95908

Re: camel-zookeeper: Allow multiple Zookeeper servers in endpoint

2013-12-20 Thread Willem Jiang
Hi Klaus, Thanks for your contribution, I’m reviewing your patch. It will be commit to the camel repo shortly. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English)

Re: camel-zookeeper: ZooKeeperProducer does implement doStop()

2013-12-20 Thread Willem Jiang
Hi Klaus,  Thanks for your contribution, I’m reviewing your patch.  It will be commit to the camel repo shortly.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English)

Re: How to monitor number of open files in camel?

2013-12-20 Thread Claus Ibsen
On Fri, Dec 20, 2013 at 7:57 AM, Bharath bharath4...@gmail.com wrote: Number of open files in the sense the files which are in process Questions on Hawtio: I am using Fuse ESB Enterprise which is running as fabric containers I installed hawtio feature to this fabric containers I am not

How to read aggregation from HawtDB when Camel cannot read it by index

2013-12-20 Thread Stephan Burkard
Hi Camel users I am trying to recover data from a Camel aggregator persistent hawtdb repository (Camel 2.9.x). The aggregator was killed unexpectedly because of an out-of-memory-error. I wrote a small Java class that opens the hawtdb file, creates a HawtDBAggregationRepository instance that uses

Printing with Camel

2013-12-20 Thread joe.sat
Hi all, I am printing via camel using the function sendBodyAndHeaders. I tried to print using my PDF printer on Mac and it does perfectly. When I tried it in my Toshiba network printer it does the printing but a part of the upper and left part missed during printing (it does not respect the

@MockEndpointsAndSkip appears to not mock all endpoints when testing with Spring

2013-12-20 Thread sebh
Hi, I am using Camel 2.12.2 and Spring 3.2.4. I have the following route definition: camelContext xmlns=http://camel.apache.org/schema/spring; route id=route1 from uri=direct:route1 / to uri=direct:route2/ /route /camelContext My expectation would be that the following test

Re: @MockEndpointsAndSkip appears to not mock all endpoints when testing with Spring

2013-12-20 Thread Claus Ibsen
Maybe try with @MockEndpointsAndSkip(*) On Fri, Dec 20, 2013 at 12:31 PM, sebh sebastian.haeh...@gmail.com wrote: Hi, I am using Camel 2.12.2 and Spring 3.2.4. I have the following route definition: camelContext xmlns=http://camel.apache.org/schema/spring; route id=route1 from

Re: Printing with Camel

2013-12-20 Thread Claus Ibsen
Hi The camel-printer component has these options http://camel.apache.org/printer It uses the java printer api, and it has many options AFAIR. Though maybe try to see if one of the mediaSize fits you, eg A4 vs US-A4 or what they are named. They can have different margins. If not you may drill

Re: @MockEndpointsAndSkip appears to not mock all endpoints when testing with Spring

2013-12-20 Thread sebh
I tried that, doesn't work either. -- View this message in context: http://camel.465427.n5.nabble.com/MockEndpointsAndSkip-appears-to-not-mock-all-endpoints-when-testing-with-Spring-tp5745105p5745116.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Oracle Procedure Calls with Camel

2013-12-20 Thread Claus Ibsen
Hi CAMEL-4725 is not implemented in any Camel version. We love contributions, so anyone can help implement the logic needed. You can use camel-mybatis as MyBatis support stored procedures http://camel.apache.org/mybatis On Fri, Dec 20, 2013 at 1:55 PM, james555 luke...@gmx.net wrote: is it

Re: @MockEndpointsAndSkip appears to not mock all endpoints when testing with Spring

2013-12-20 Thread Claus Ibsen
Check the unit tests to see what they do. On Fri, Dec 20, 2013 at 1:57 PM, sebh sebastian.haeh...@gmail.com wrote: I tried that, doesn't work either. -- View this message in context:

RE: Oracle Procedure Calls with Camel

2013-12-20 Thread cyrille.eloundou
Yes, Using spring DSL setBody simple exec myStoreProcedure('')/simple /setBody to uri:JDBC:Datasource / Where Datasource is a bean -Original Message- From: james555 [mailto:luke...@gmx.net] Sent: Friday, December 20, 2013 7:55 AM To: users@camel.apache.org Subject: Oracle

Route message based on Tag Value - Apache Camel Spring

2013-12-20 Thread raheelhasanfsd .
I am trying to learn Apache Camel Routes. For a basic example, I would like to know how to route based on values in an XML tag. For example, if we have 3 xml files with parent tags: item type=n1 /item type=n2 /item type=n3 / I want to route these 3 into 3 different pipes... so here is my idea

Re: Splitting, processing and aggregating a list

2013-12-20 Thread yvesdm
I found this old post while I was trying to do same thing but using a class that extends AbstractListAggregationStrategy to rebuild a List after the completion of the split. Using this aggregator way of doing, I found a problem : at the end of the split, the body is not replaced by the agregated

Zipping multiple files to one Zip-File

2013-12-20 Thread alex
Dear Community, I'm new to Camel (2.12.0) and like it very much. I'm trying to build a zip route which handles a lot of PDF-Files and zip them all together to one Zip-File. No success so far :-( from(direct:zip)

Re: How to set proxy excludes on http component?

2013-12-20 Thread JaredBoucher
Hi Henrique, Unless something has changed from the discussion in this thread, camel does not respect the http proxy system properties. The properties must be set in the camel context, not as a java system property. Also, the http.nonProxyHosts is ignored when set in the camel context or system

AW: Zipping multiple files to one Zip-File

2013-12-20 Thread jhm
I am missing a part which Camel instructs to collect the exchanges and not to process every for its own ... Jan -Ursprüngliche Nachricht- Von: alex [mailto:alex.koe...@gmx.de] Gesendet: Freitag, 20. Dezember 2013 16:39 An: users@camel.apache.org Betreff: Zipping multiple files to

Re: Zipping multiple files to one Zip-File

2013-12-20 Thread Richard Kettelerij
You'll need the aggregator EIP, http://camel.apache.org/aggregator2.html. It's a perfect fit for this case. On Fri, Dec 20, 2013 at 4:39 PM, alex alex.koe...@gmx.de wrote: Dear Community, I'm new to Camel (2.12.0) and like it very much. I'm trying to build a zip route which handles a lot of

Re: Acknowledgement to JMS Topic on activemq

2013-12-20 Thread Scott England-Sullivan
A couple of additional notes: Camel SJMS does have an issue identified with the aggregator and JMS transactions. SJMS is currently closing the transaction, batch included, as the messages pass through the route. It doesn't recognize the fact that an aggregator is participating in the route

Can Camel process PGP files which would exceed available JVM memory?

2013-12-20 Thread David
We are looking at mule and camel and one feature which seemed promising in Camel was the PGP component. My simple tests seem to indicate that when decrypting a file, the entire contents are read into memory. We deal with huge files and it was pretty easy for me to produce an OutOfMemory

Re: Camel Jetty component and overlapping urls when a consumer

2013-12-20 Thread samslara
It was my understanding of the contrary. I'm currently using servicemix where there are 20+ bundles each with a camel context and each of those with routes starting with a jetty consumer (eg: from uri=jetty:http:0.0.0.0:8080/... /). We haven't had any problems with each of these camel routes

Re: Camel Jetty component and overlapping urls when a consumer

2013-12-20 Thread Claus Ibsen
No you are correct, the camel-jetty component can share the same port across bundles. On Sat, Dec 21, 2013 at 1:52 AM, samslara samsl...@yahoo.com wrote: It was my understanding of the contrary. I'm currently using servicemix where there are 20+ bundles each with a camel context and each of

Re: Camel Jetty component and overlapping urls when a consumer

2013-12-20 Thread Claus Ibsen
On Thu, Dec 19, 2013 at 9:16 PM, samslara samsl...@yahoo.com wrote: Hello, I have a question about the behavior of the jetty component when in an OSGi environment (such as in ServiceMix). If I have two bundles each with a camel context where one has a route such as: from

Re: How to set proxy excludes on http component?

2013-12-20 Thread Claus Ibsen
On Fri, Dec 20, 2013 at 12:40 AM, JaredBoucher jboucher1...@gmail.com wrote: Hi Willem, I have a requirement for my current project using camel to be able to exclude internal hosts in our network from a proxy which allows outbound traffic. All external traffic would go through the proxy. Is