Re: Camel Cxf example. Jetty Server starting while JBoss already Running

2010-09-16 Thread Willem Jiang
On 9/17/10 5:27 AM, Indu wrote: Hi Team, I have a simple Camel CXF example running, which is based from the Camel In Action examples provided. I am able to build and run successfully. But here is the problem I am coming across. I am building the war and then deploying in the JBoss AS wh

Re: Camel Cxf example. Jetty Server starting while JBoss already Running

2010-09-16 Thread Claus Ibsen
Hi See the section title _USING APACHE TOMCAT FOR HTTP INBOUND ENDPOINTS_ in the Camel in Action book, chapter 13. It shows how to leverage the http server inside Tomcat (but it should be the same for JBoss). On Thu, Sep 16, 2010 at 11:27 PM, Indu wrote: > > Hi Team, > >  I have a simple Came

Camel Cxf example. Jetty Server starting while JBoss already Running

2010-09-16 Thread Indu
Hi Team, I have a simple Camel CXF example running, which is based from the Camel In Action examples provided. I am able to build and run successfully. But here is the problem I am coming across. I am building the war and then deploying in the JBoss AS which is running at localhost:8080. Bu

Re: Camel calling commit too early when using split+seda+file endpoint

2010-09-16 Thread Claus Ibsen
Hi You can grab from fuse source repo http://repo.fusesource.com/ We have a snapshot as well. On Thu, Sep 16, 2010 at 7:31 PM, camel_el wrote: > > Claus, > >  is there a new snapshot of 2.5.0 that I can use to test your fix?  The one > on the Maven repo > (https://repository.apache.org/content

Re: Camel calling commit too early when using split+seda+file endpoint

2010-09-16 Thread camel_el
Claus, is there a new snapshot of 2.5.0 that I can use to test your fix? The one on the Maven repo (https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-core/2.5-SNAPSHOT/) is too old (Aug 10th). All my stuff is on a private network, so I can't access your SVN d

Re: choose() question

2010-09-16 Thread Claus Ibsen
You can use an interceptor and then stop() when to abort. Or you can set the Exchange.STOP property on the Exchange from a Processor to tell it to stop On Thu, Sep 16, 2010 at 7:04 PM, Donald Whytock wrote: > Is there something along the lines of an abortable Pipeline, such that > it will go th

Re: choose() question

2010-09-16 Thread Donald Whytock
Is there something along the lines of an abortable Pipeline, such that it will go through a sequence of processors until one of them returns a certain value, sets a property on the exchange, etc? On Thu, Sep 16, 2010 at 12:49 PM, Claus Ibsen wrote: > On Thu, Sep 16, 2010 at 6:45 PM, Donald Whytoc

Re: choose() question

2010-09-16 Thread Claus Ibsen
On Thu, Sep 16, 2010 at 6:45 PM, Donald Whytock wrote: > Hi all... > > Newbie question regarding choose().  Given > > from(endpoint).choose() >  .when(predA).process(processorA) >  .when(predB).process(processorB); > > If predA and predB are both true, do processorA and processorB both > get calle

choose() question

2010-09-16 Thread Donald Whytock
Hi all... Newbie question regarding choose(). Given from(endpoint).choose() .when(predA).process(processorA) .when(predB).process(processorB); If predA and predB are both true, do processorA and processorB both get called? Or does processing stop with processorA? Don

Re: The delay option seems not to be working in CAMEL Java DSL mode

2010-09-16 Thread Claus Ibsen
Hi Thanks for digging into the code. I have created a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-3130 And also reproduced it in camel-core so I will work on a fix. On Thu, Sep 16, 2010 at 5:57 PM, S. Ali Tokmen wrote: >  Hello > > I have found why, and now I'll try t

camel-ibatis and NoClassDefFound

2010-09-16 Thread Darren Davison
hi, we are trying to deploy a bundle in smx 4.2 that uses the camel-ibatis feature and are runing into a runtime exception as follows: Caused by: java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException at java.lang.Class.getDeclaredConstructors0(Native Method) at ja

Re: The delay option seems not to be working in CAMEL Java DSL mode

2010-09-16 Thread S. Ali Tokmen
Hello I have found why, and now I'll try to explain: * We actually do not use the endpoint names in the routes but a registry, implemented by RefComponent * We therefore do from("registry:ftpTest") * In the registry, "ftpTest" actually redirects to ftp://... with the delay op

Re: How to specify route to folder with $ in actual name

2010-09-16 Thread Claus Ibsen
I found an issue on the latest version so I created a ticket https://issues.apache.org/activemq/browse/CAMEL-3128 Are you sure you use Camel 2.0 which is a 1 year old release? Are you not using Camel 2.3 or 2.4 ? On Thu, Sep 16, 2010 at 3:13 PM, Claus Ibsen wrote: > You can try defining the en

Re: How to specify route to folder with $ in actual name

2010-09-16 Thread Claus Ibsen
You can try defining the endpoint using spring bean style And then refer to it in the from On Wed, Sep 15, 2010 at 12:50 AM, raghu.j wrote: > > We have requirement setup a route to a shared drive on NAS and the folder > name on the NAS has name like > # Network Location > edi.error.

Re: How to specify route to folder with $ in actual name

2010-09-16 Thread raghu.j
- Camel version (2.0) - OS (Windows - Windows 2003 Server (64 bit) - Log of the error reported - I don't have it handy - Snippet of Camel route Where the properties are loaded using the fallowing PlaceHolder configurer

Re: Camel-QuickFIX - JMX console to invoke quickfix server operations

2010-09-16 Thread Bengt Rodehav
OSGi compliance is definitely a requirement for me... /Bengt 2010/9/16 Claus Ibsen > Hi Steven > > This is great news that you step up and integrate Camel with QuickFix > which help both communities. > > We have the same story with Smooks, where people from the Smooks > community (actually one

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Bengt Rodehav
Willem, Sorry if I appear a bit ignorant but, as I wrote before, I haven't done any OSGi wrapping before - I've always found what I needed. Often from ServiceMix, sometimes from Geronimo (specs) and from SpringSource. I'm trying to get the hang of this... I don't think I need to try the validator

Re: [TypConverter] How to retrive TypeConvert in a custom split method ?

2010-09-16 Thread Claus Ibsen
On Thu, Sep 16, 2010 at 12:05 PM, Olivier.Roger wrote: > > I spoke too soon again, I can find it using the camelcontext via the Exchange > ;) > > Sorry for the disturbance, > No problem. Hopefully in the future we will allow the AggregrationStrategy interface to be like bean parameter bindings s

Re: The delay option seems not to be working in CAMEL Java DSL mode

2010-09-16 Thread S. Ali Tokmen
Hello OK, can you indicate me any source locations I should be looking at, that normally sets the delay option? My reference lookups on the setDelay method are hopeless. Thank you S. Ali Tokmen savas-ali.tok...@bull.net Office: +33 4 76 29 76 19 GSM:+33 66 43 00 555 Bull, Architect of

Re: [TypConverter] How to retrive TypeConvert in a custom split method ?

2010-09-16 Thread Olivier.Roger
I spoke too soon again, I can find it using the camelcontext via the Exchange ;) Sorry for the disturbance, Olivier -- View this message in context: http://camel.465427.n5.nabble.com/TypConverter-How-to-retrive-TypeConvert-in-a-custom-split-method-tp2840819p2842074.html Sent from the Camel - U

Re: [TypConverter] How to retrive TypeConvert in a custom split method ?

2010-09-16 Thread Olivier.Roger
I successfully get a reference to the TypeConverter API almost everywhere I needed it. The only method I can get it is the aggregate(Exchange oldExchange, Exchange newExchange) method from the AggregationStrategy. Is there something I am missing? -- View this message in context: http://camel.

Re: Odd route start behavior after context is started

2010-09-16 Thread Willem.Jiang
FYI, I just committed a patch for this issue, please check the camel code or latest snapshot for it. Willem -- View this message in context: http://camel.465427.n5.nabble.com/Odd-route-start-behavior-after-context-is-started-tp2835464p2842016.html Sent from the Camel - Users mailing list archiv

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Willem Jiang
On 9/16/10 3:16 PM, Bengt Rodehav wrote: Willem, Not sure what you mean. I solved the problem by exporting the META-INF and the META-INF.services "packages". That's all it took. If you just have one bundle exports META-INF.services, that could be OK. But if you have tens of bundles export that

Re: Camel-QuickFIX - JMX console to invoke quickfix server operations

2010-09-16 Thread Claus Ibsen
Hi Steven This is great news that you step up and integrate Camel with QuickFix which help both communities. We have the same story with Smooks, where people from the Smooks community (actually one of the top contributor) integrated Smooks with Camel directly within Smooks. This is another testim

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Bengt Rodehav
Willem, Not sure what you mean. I solved the problem by exporting the META-INF and the META-INF.services "packages". That's all it took. However, your version does not seem to work since no default provider can be found ...Aha now I see what you wrote in your mail... You mean you need to hack th

Re: The delay option seems not to be working in CAMEL Java DSL mode

2010-09-16 Thread Willem Jiang
Maybe you can write a simple test bundle to see if the camel converter works for you. Willem On 9/16/10 2:40 PM, Claus Ibsen wrote: Must be a problem in your end. I added unit test which works nicely http://svn.apache.org/viewvc?rev=997603&view=rev The delay option is set using a type convert

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Willem Jiang
Oh, you need to make sure the bean validator API can find the implementor jars in OSGi container. ServiceMix did some work by introducing the service locator to search the service from META-INF/services, and you may also need to hack the validator API by using the locator to find the service fro