Re: AmbiguousMethodCallException

2009-06-17 Thread Claus Ibsen
On Thu, Jun 18, 2009 at 8:34 AM, Claus Ibsen wrote: > > > On Tue, Jun 16, 2009 at 6:33 AM, Claus Ibsen wrote: > >> Hi >> >> What version of Camel are you using? >> >> Looks like we should have had another excpetion being thrown when end >> user provided the method name to invoke but it does not e

Re: AmbiguousMethodCallException

2009-06-17 Thread Claus Ibsen
On Tue, Jun 16, 2009 at 6:33 AM, Claus Ibsen wrote: > Hi > > What version of Camel are you using? > > Looks like we should have had another excpetion being thrown when end > user provided the method name to invoke but it does not exist. Works fine in Camel 2.0. I added an unit test for it: Bean

Re: Camel Mail: Alternate body is included twice

2009-06-17 Thread Claus Ibsen
Hi I have created a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-1727 And I have committed a fix, should be in next release 1.6.2 and 2.0. You can try out a SNAPSHOT of the 1.6.2 to see if it works for you. Details here http://camel.apache.org/download.html Could take 4+

Re: Autowiring RouteBuilders defined as beans in Spring.

2009-06-17 Thread Claus Ibsen
On Wed, Jun 17, 2009 at 7:52 PM, sgargan wrote: > > Claus, > > My username for the wiki is sgargan. Hi I have granted you karma so you should be able to edit the wiki pages now. > > > Cheers, > > ste > > Claus Ibsen-2 wrote: > > > > On Tue, Jun 16, 2009 at 10:21 PM, sgargan wrote: > > > >>

Re: Quartz redelivery question

2009-06-17 Thread Claus Ibsen
Hi Interesting with a per processor specific redelivery setting. The onException must come before your processor otherwise this will only be effect afterwards. So you should move onException up to right after the from. You can divide your route into 2 then the 1st route will use the onException f

Quartz redelivery question

2009-06-17 Thread sriramch
I am using camel 1.6.0. I have a quartz end point setup via Spring DSL for performing an ETL process step as following: java.lang.Exception

Re: Autowiring RouteBuilders defined as beans in Spring.

2009-06-17 Thread sgargan
Claus, My username for the wiki is sgargan. Cheers, ste Claus Ibsen-2 wrote: > > On Tue, Jun 16, 2009 at 10:21 PM, sgargan wrote: > >> >> I've put together some documentation for the feature, its not much. Claus >> mentioned some kind of karma(?) to allow me to edit the confluence >> pages

Re: XSLT endpoint usage notes.

2009-06-17 Thread Claus Ibsen
Hi Thanks a lot Sameer. I have added your notes to the XSLT wiki page so others will notice them when they start using this component. Yeah the JDK6 is bad with its JAXB and XSTL bundling in the rt.jar. A pain to get working if you want to use others than provided in there. Bad Sun. On Wed, Jun

Re: Continuations and direct components

2009-06-17 Thread Ashwin Karpe
Hi, Snce the connection is an HTTP connection, the connectionObject will be preserved even though the thread is released. So long as the connectionObject is available, it will be reused to send a message in the reverse direction. The HTTP connectionTimeout will dictate whether the connection can

Re: Continuations and direct components

2009-06-17 Thread Ashwin Karpe
Hi, Snce the connection is an HTTP connection, the connectionObject will be preserved even though the thread is released. So long as the connectionObject is available, it will be reused to send a message in the reverse direction. The HTTP connectionTimeout will dictate whether the connection can

Re: Camel Timer Componenet

2009-06-17 Thread Ashwin Karpe
Hi Aman, Looks like the Timer component may not be right for you if the intervals you are looking at span days. Obviously you can calculate the period in milliseconds and exrapolate that value to days, however, if you are looking for a scheduler then you should use the quartz component in camel

Re: JBoss + ActiveMQ + Camel + Newbie

2009-06-17 Thread Claus Ibsen
On Wed, Jun 17, 2009 at 1:32 PM, chu_man_fu wrote: > > Would it be fair in saying that not many people intergrate ActiveMQ and Camel > into JBoss? I do think many use ActiveMQ as a JMS broker. So there should be a fair share of users with JBoss. But deploying as a resource adapter is the J2ee lan

Re: JBoss + ActiveMQ + Camel + Newbie

2009-06-17 Thread chu_man_fu
Would it be fair in saying that not many people intergrate ActiveMQ and Camel into JBoss? Is it quicker/better/easier to use the standalone ActiveMQ server or an embedded solution? Whats the difference between using Camel and Spring? I though Camel was built using the Spring framework. Claus Ib

Re: JBoss + ActiveMQ + Camel + Newbie

2009-06-17 Thread Claus Ibsen
On Wed, Jun 17, 2009 at 12:25 PM, chu_man_fu wrote: > > Thanks for the reply. > > When looking at the the second link I noticed this: > "If you want to include some Java routing rules, then just add your jar to > somewhere inside ActiveMQ's lib directory." > Well you could forget about this and

Re: JBoss + ActiveMQ + Camel + Newbie

2009-06-17 Thread chu_man_fu
Thanks for the reply. When looking at the the second link I noticed this: "If you want to include some Java routing rules, then just add your jar to somewhere inside ActiveMQ's lib directory." Where is this lib directory. In my JBoss deploy directory I have a dir called activemq-ra-1.4.rar as ex

Continuations and direct components

2009-06-17 Thread huntc
Hi there, Given the following code: from("jetty:http://0.0.0.0:9000/myurl";) .inOut("direct:getSomething"); Will a jetty continuation become suspended and thus release its thread while "direct:getSomething" does its work, and then become active once "direct:getSomething" replies? I'm hop

XSLT endpoint usage notes.

2009-06-17 Thread Sameer Nambiar
Hi, In case anybody faces issues with the XSLT endpoint please review these points. I was trying to use an xslt endpoint for a simple transformation from one xml to another using a simple xsl. The output xml kept appearing (after the xslt processor in the route) with outermost xml tag with no co

Re: XML Validation with multiple XSLT schema files.

2009-06-17 Thread Claus Ibsen
On Wed, Jun 17, 2009 at 10:09 AM, SwenVogel wrote: > > Hi, > > how can i use the validation component when the source XML must be > validated > against multiple XSLT schema files? For example it is quite common to use a > core schema and other additional schemas. Maybe you could invoke the vali

Re: JBoss + ActiveMQ + Camel + Newbie

2009-06-17 Thread Claus Ibsen
Hi Camel is shipped out of the box with ActiveMQ. There should be an active mq configuraiton file that is a spring XML file. In this XML file you just add a camelcontext and then you get Camel started. If not mistaking there might be a Camel sample already in this file. Something like this: http:

XML Validation with multiple XSLT schema files.

2009-06-17 Thread SwenVogel
Hi, how can i use the validation component when the source XML must be validated against multiple XSLT schema files? For example it is quite common to use a core schema and other additional schemas. Thanks for your help ... -- View this message in context: http://www.nabble.com/XML-Validation-

Camel Timer Componenet

2009-06-17 Thread Aman Chandna
Hi I have following issuses while working with timer component. 1. How to set the time as a part of the URI, i have come across the examples where periord and fixedrate are set as a part of the URI like the following URI from("timer://foo?fixedRate=true&period=6").to("bean:myBean?metho