Re: file component - performance params

2012-11-10 Thread Claus Ibsen
Hi See these links http://camel.apache.org/routepolicy http://camel.apache.org/scheduledroutepolicy.html On Sat, Nov 10, 2012 at 5:57 PM, maheshadepu wrote: > > I am using file component for directory polling. > Can i customize this directory polling for specific time period(lets say 2am > to 3

RE: file component - performance params

2012-11-10 Thread Ramkumar.Iyer
Also see http://opensourceknowledge.blogspot.in/2010/09/developed-capability-in-camel-to.html -Original Message- From: maheshadepu [mailto:maheshad...@gmail.com] Sent: Saturday, November 10, 2012 10:27 PM To: users@camel.apache.org Subject: file component - performance params I am using

RE: file component - performance params

2012-11-10 Thread Ramkumar.Iyer
http://camel.apache.org/quartz.html Use quartz and put a cronjob with specified time as parameters -Original Message- From: maheshadepu [mailto:maheshad...@gmail.com] Sent: Saturday, November 10, 2012 10:27 PM To: users@camel.apache.org Subject: file component - performance params I am

Re: Wiretap query

2012-11-10 Thread Christian Müller
You have to use a sub route which use the multicast EIP to send the same message to multiple endpoints. Sent from a mobile device Am 10.11.2012 21:01 schrieb "gilboy" : > Hi > > When I read documentation regarding the wiretap EIP it always looks like a > copy of the exchange is sent to another en

Re: Camel type converter query

2012-11-10 Thread Christian Müller
Check the documentation. You can pass the exchange as second parameter into the converter method. Sent from a mobile device Am 11.11.2012 00:15 schrieb "gilboy" : > Hi > > I am trying to create a type converter that converts from a string to a > domain object(Customer). > > The string is in the b

Camel type converter query

2012-11-10 Thread gilboy
Hi I am trying to create a type converter that converts from a string to a domain object(Customer). The string is in the body of the in message of the exchange but I also need certain properties from the exchange to do the conversion Obviously the body of the in message(string in my case) of th

Re: How to mock a bean in a route?

2012-11-10 Thread James Carman
You need to click quicker, because I am actively working on this project! :) Just download the whole project and you should have an example for yourself Sent from my iPhone On Nov 10, 2012, at 3:13 PM, David Karlsen wrote: > That gave a 404 too :) > > 2012/11/8 James Carman : >> Sorry, I've bee

Re: How to mock a bean in a route?

2012-11-10 Thread David Karlsen
That gave a 404 too :) 2012/11/8 James Carman : > Sorry, I've been tweaking the code: > > https://github.com/jwcarman/camel-transaction/blob/master/src/test/java/com/carmanconsulting/camel/TestJdbcRouteBuilder.java > > On Thu, Nov 8, 2012 at 3:07 PM, David Karlsen wrote: >> The 1st link gave a 40

Wiretap query

2012-11-10 Thread gilboy
Hi When I read documentation regarding the wiretap EIP it always looks like a copy of the exchange is sent to another endpoint in a different thread. Is it valid for me to wiretap and send to a number of endpoints sequentially? E.g. from("direct:start") .to("log:foo") .wireTap("bean:bea

Re: Do Apache Camel needs a SAP integration?

2012-11-10 Thread Björn Bength
Hi I could do that later, but cant you just pull it off of github? The component is still used by our client and i havent got any complaints so far. Thanks to the great hibersap :) Im also interested in what a component working with xml and jco directly would bring to the table. (Im not an sap ex

Re: Do Apache Camel needs a SAP integration?

2012-11-10 Thread Christian Müller
Hello Björn! I created a new issue at Camel extra [1] to track this. Could you please attach your camel-sap component as zip to this issue!? Then I can pick it up and work on an initial version. [1] http://code.google.com/a/apache-extras.org/p/camel-extra/issues/detail?id=31 Best, Christian On

Re: Do Apache Camel needs a SAP integration?

2012-11-10 Thread Christian Schneider
Hi Thomas, I am also interested in the component. Perhaps you can put it to github. Make sure to put licensing information into your code so people know what they may do with it. Christian On 11/09/2012 03:41 PM, Thomas Weinschenk wrote: > Hello guys, > > I also created a Camel SAP component bas

Re: Do Apache Camel needs a SAP integration?

2012-11-10 Thread Christian Müller
Hello Thomas! I'm interested in it. I would like to have a camel-sap component at Camel extra [1] what is not the case at present. If your camel-sap component use the SAP JCo library, I think this will not be an option because we cannot (we are not allowed to) add the JCo dependency in any Maven

Re: Exception handling with JPA and integrity constraints

2012-11-10 Thread James Carman
Okay, so what do you suggest? There are two transaction managers you can tweak here. And, you want the database updates to rollback if the route fails. On Fri, Nov 9, 2012 at 5:59 PM, Christian Müller wrote: > Yes definitely. Using the JpaTransactionManager for the JMS route is wrong. > > Best,

Re: Do Apache Camel needs a SAP integration?

2012-11-10 Thread Christian Müller
Hello Carsten! Any news about the licensing stuff of Hibersap? It looks like you still use the GNU LESSER GENERAL PUBLIC LICENSE [1]. [1] http://hibersap.sourceforge.net/hibersap-1.0/license.html Best, Christian On Fri, Jan 20, 2012 at 9:27 AM, cerker wrote: > Björn, thanks a lot for sharing

Re: MINA Serial - what route syntax and how to install ?

2012-11-10 Thread Christian Müller
The camel-mina2 component will be official released in Camel 2.11.0. At present, we do not support the serial connector as described at [1] (as far as I know). Feel free to rais a JIRA at [2] so that we don't forget this. And as you may know, we love contributions. You can find more about how to co

Re: Camel performance tuning

2012-11-10 Thread Gonzalo Vásquez
Thanks Claus, I'll go for the File Component enhancent, but on Monday, as what I'm trying to achieve is a generic and easy way to configure systems, for the non so skilled within out company, so XML is their way to go. I'll provide feedback on monday, and posible and enhanced component for the

Re: Setup of JMS message listener failed Exception JmsComponent

2012-11-10 Thread Christian Müller
Does the queue exist? Can you share the complete stack trace? Which version of Camel do you use? Sent from a mobile device Am 10.11.2012 08:50 schrieb "javaxmlsoapdev" : > My config looks as below for connecting to IBM WebSphere MQ. > > > ref="cachedConnectionFactory" /> >

Re: Configuring HTTPS for CXF

2012-11-10 Thread Christian Müller
Thanks for sharing your solution with the community! Enjoy your further Camel ride. Best, Christian Sent from a mobile device Am 10.11.2012 08:50 schrieb "peter.berkman" : > got it working !!! I did remove the http:destination lines, but I think > the > real issue was that I had upgraded to the

Re: Camel performance tuning

2012-11-10 Thread Claus Ibsen
On Fri, Nov 9, 2012 at 7:09 PM, Christian Müller wrote: > Using Hypersonic, Hadoop or Mongo for such a use case is "over engineering" > the requirement and will end up in much more complicated solution - IMO. > Yeah it sure is. After all we are talking about appending data to a file. You can jus

Re: Setup of JMS message listener invoker failed for destination

2012-11-10 Thread Claus Ibsen
Hi You need to use JNDI to lookup the queue when using WebSphere. Something a bit like this with the jee jndi lookup and using that destination resolver. http://stackoverflow.com/questions/7390908/can-apache-camel-connect-to-an-activationspec-in-websphere There has also been posts to this @user