Re: JmsComponent changes between 2.4.0 and 2.6.0

2011-02-24 Thread Claus Ibsen
Hi I have committed a fix to trunk. Fell free to try it out or wait for 2.7 and then try to upgrade again. On Thu, Feb 24, 2011 at 2:35 PM, Claus Ibsen wrote: > Hi > > Ah that damn OracleAQ and the JMSReplyTo. > You can try the code on trunk as I think we have refined the reply to > logic a bit

Re: Can we define jetty property of the server when using camel cxf endpoint ?

2011-02-24 Thread Willem Jiang
Hi Charles, Yes, you can do the same thing in the camel-cxf endpoint. On 2/25/11 12:28 AM, Charles Moulliard wrote: Hi, With Apache CXF, it is possible to customise the Jetty Server created (nbre of threads, ...) --> http://cxf.apache.org/docs/jetty-configuration.html Can we do the same when u

Re: Camel custom component

2011-02-24 Thread Claus Ibsen
Check out the Content Enricher EIP http://camel.apache.org/content-enricher.html And it's not advised to start a route from(bean) as it would mean Camel will poll the bean continuously. Instead from the bean send a message to a Camel route, or directly to the JCR For that use ProducerTemplate, or

Re: Camel custom component

2011-02-24 Thread ghosh
Thanks Claus for your precise but meaningful reply... but my question is .. am I trying to do something which is against the camel philosophy or that is quite normal in such kind of scenario ? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-custom-component-tp3398359p

Re: Is it possible to have Configurable thread pools size in spring/camel property file ?

2011-02-24 Thread Sumit Teke
I came across same problem while defining endpoint uri with proerties in from or to, but what i did was defined endpoint and then in from use ref to point to endpoint. Similarly in ur case, you can define a exeutor service bean with properties used and then ref that in thread. Thanks, Sumit Teke

Re: Is it possible to have Configurable thread pools size in spring/camel property file ?

2011-02-24 Thread Claus Ibsen
Hi Camel 2.7 will be able to support that, however in XML you need to use the placeholder namespace to set the value. See some details at the bottom of this page, where we use prop:xxx= to set property XXX to the value of https://cwiki.apache.org/confluence/display/CAMEL/Properties 20

Is it possible to have Configurable thread pools size in spring/camel property file ?

2011-02-24 Thread 차정호
Hello I love Camel framework! I have some problem using camel thread pool. I have configurable values in the property file “test.properties” , and I want to use them in camel spring xml. Like the below spring xml : … … But the p

Re: xslt component and URI Resolver

2011-02-24 Thread Richard Kettelerij
Just thinking out lou about a possible workaround: Camel already provides the Exchange as a parameter to the XSL Transformer. Therefore you might be able to access the Exchange using an from within your XSL transformation (remember the Exchange is POJO not a simple String or Java primitive, so i

Re: Can Camel be used to define Business Process Routes ?

2011-02-24 Thread Christian Müller
Hi Vishal, Camel already has an extract-transform-load example. Maybe it's useful for you: https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-etl/ Christian

Can we define jetty property of the server when using camel cxf endpoint ?

2011-02-24 Thread Charles Moulliard
Hi, With Apache CXF, it is possible to customise the Jetty Server created (nbre of threads, ...) --> http://cxf.apache.org/docs/jetty-configuration.html Can we do the same when using camel cxf endpoint ? xmlns:cxf="http://camel.apache.org/schema/cxf"; !-- WebServices --> http://localhost:908

Re: Can Camel be used to define Business Process Routes ?

2011-02-24 Thread vishal1raju
Thank you very much Hadrian. I see camel as a really powerful for integration scenarios. It has really broad components support and obviously fluent API. Thanks, Vishal Shah -- View this message in context: http://camel.465427.n5.nabble.com/Can-Camel-be-used-to-define-Business-Process-Routes-t

Re: Can Camel be used to define Business Process Routes ?

2011-02-24 Thread Hadrian Zbarcea
Hi Vishal, These are valid patterns and Camel is used like that in productions by many users already. You can think of Camel as a lightweight BPEL if you want. I'd encourage you to confidently go ahead and if you have any questions in the future post them here. Cheers, Hadrian On Feb 24, 2011

Can Camel be used to define Business Process Routes ?

2011-02-24 Thread vishal1raju
Hi All, I'm working on small application which uses Camel (Routing engine) and Sevices (Developed using CXF). I've typical requirement of integrating data from remote machine to local machine. The design is simple - As per my business process (i.e Extrat , Transform and Load ). I've written ca

Re: URL double-encoding in http component

2011-02-24 Thread Claus Ibsen
Hi I have committed a fix on trunk. You are welcome to test with latest source code. On Thu, Feb 24, 2011 at 10:25 AM, Claus Ibsen wrote: > Hi > > I have created a ticket to track this > https://issues.apache.org/jira/browse/CAMEL-3715 > > > -- > Claus Ibsen > - > FuseSource > E

Re: JmsComponent changes between 2.4.0 and 2.6.0

2011-02-24 Thread Claus Ibsen
Hi Ah that damn OracleAQ and the JMSReplyTo. You can try the code on trunk as I think we have refined the reply to logic a bit so the disableRepllyTo=true on the producers is also honored. But we should frankly have a try .. catch when touching the JMSReplyTo to work around the angry OracleAQ. Fe

Re: Camel 2.6.0 - Locking with the file component

2011-02-24 Thread Claus Ibsen
File locking works differently on each OS. So you have to try out what works best for you. It also deepens on the other party, if that's a separate process or not. For example if the producer is from the same JVM, then the fileLock afaik doesn't work as its JVM-wide. Usually a "rename" is good w

JmsComponent changes between 2.4.0 and 2.6.0

2011-02-24 Thread astiller
i can send a String to a JMS Queue (based on Oracle AQ) successfully with camel 2.4.0. The URI in use is: "camel.jms:queue:CUSTOMER_ORDER?cacheLevelName=CACHE_NONE". When i switch to camel 2.6.0 and leave the code otherwise unchanged i get a crash in Oracle AQ: Caused by: oracle.jms.AQjmsExcepti

Re: Camel custom component

2011-02-24 Thread Claus Straube
Hi Gosh, producer is always to()... consumer is always from()... Regardless, if data goes in or out. The point is, that you have to force the producer to do something while a consumer does it itself (e.g. by polling, on event, etc.) Best regards - Claus On 24.02.2011 11:37, ghosh wrote: Hi

Camel custom component

2011-02-24 Thread ghosh
Hi I have a requirement where I need to persist xml in a jcr compliant repo and subsequently read it back in camel route. For that I have created a custom component where producer impl persists the data and comsumer reads it back. But the problem I facing ismy routes are going to be like bel

Re: Synchronize the polling consumer with a route

2011-02-24 Thread JohnLance
Any idea? -- View this message in context: http://camel.465427.n5.nabble.com/Synchronize-the-polling-consumer-with-a-route-tp3396847p3398303.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: URL double-encoding in http component

2011-02-24 Thread Claus Ibsen
Hi I have created a ticket to track this https://issues.apache.org/jira/browse/CAMEL-3715 -- Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com

Re: URL double-encoding in http component

2011-02-24 Thread Claus Ibsen
Hi If you use the Exchange.HTTP_URI header then I assume the double encodings doesn't occur. But I take a look into it with your example. On Tue, Feb 22, 2011 at 3:30 PM, beat glattfelder wrote: > > I have previously posted this to the dev-list, but it probably should rather > go here. > > In