Re: idempotentkey available from 2.11 ???

2013-03-29 Thread Claus Ibsen
Yes On Thu, Mar 28, 2013 at 10:59 PM, wrote: > Hi Clauss, > Based on the documentation it looks like idempotentkey is available from 2.11 > , does that mean we have to wait for 2.11 release? > > idempotentKey > > Expression > > Camel 2.11: To use a custom idempotent key. By default the absolute

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-29 Thread Claus Ibsen
Hi There is also camel-restlet http://camel.apache.org/restlet It may be easier to get hold of and use. But CXF may have more configuration options, but is also IMHO harder to get started with using - some of that is us to blame, for not having better documentation and samples. And the fact that

How can I deal with & character in password when sending an email

2013-03-29 Thread liugang
Hi All: If the mail password includes a '&' char, then how can I pass it? I tried %26 or %2526, seems both of them doesn't work. I'm using camel 2.10.4 . Can anybody give me a tip? Thanks very much. GangLiu

Re: Change ErrorHandlerFactory of a route runtime

2013-03-29 Thread Claus Ibsen
Hi I would stop and remove the routes. And then add them back again. Then they are re-created and the new error handler should take affect. Btw you can adjust the running error handlers from JMX also. So you can adjust number of redeliveries etc. On Thu, Mar 28, 2013 at 11:18 PM, shindito wrot

Re: How many Escape characters in Camel

2013-03-29 Thread Willem jiang
If you are using the URI inside the XML, you need to check change "&" to "&". It is same with the "<" and ">". -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogsp

Re: Refering implicitly to routeContext

2013-03-29 Thread Claus Ibsen
Hi Yeah maybe we should have a or something that can supporting looking up and adding any that matches this pattern. Then you can have this "flexibility" you are talking about. Though it may get a little bit harder to implement as its during the xml parsing, and usually you need to know the exa

Re: How can I deal with & character in password when sending an email

2013-03-29 Thread Claus Ibsen
Hi See http://camel.465427.n5.nabble.com/HEADS-UP-Configuring-passwords-in-Camel-endpoints-is-now-easier-with-new-RAW-syntax-tp5729782.html On Fri, Mar 29, 2013 at 9:09 AM, liugang wrote: > Hi All: > > If the mail password includes a '&' char, then how can I pass it? > > I tried %26 or %2526, se

RE: How many Escape characters in Camel

2013-03-29 Thread liugang
Unfortunately, I'd like to know how I can pass the password which includes an & when sending the email. I tried both %26 or %2526, both of them doesn't work. I'm not sure it's a bug or not. Thanks. GangLiu. -Original Message- From: Willem jiang [mailto:willem.ji...@gmail.com] Sent: F

Re: Change ErrorHandlerFactory of a route runtime

2013-03-29 Thread shindito
Hi Claus, Thanks for the quick answer. I'll give it a try with the JMX proposal . . . Regards, Atanas -- View this message in context: http://camel.465427.n5.nabble.com/Change-ErrorHandlerFactory-of-a-route-runtime-tp5730057p5730072.html Sent from the Camel - Users mailing list archive at Nab

RE: How can I deal with & character in password when sending an email

2013-03-29 Thread liugang
Hi Claus: It looks good. ( even I still confused, why we have a special RAW(), if I want to pass a real value "RAW", then what's happened, or only works on password parameter?) Thanks a lot GangLiu -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, March

RE: How can I deal with & character in password when sending an email

2013-03-29 Thread liugang
I'm sorry, this is also supported on 2.10.4, or only from 2.11.0 ? Thanks. GangLiu -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, March 29, 2013 4:18 PM To: users@camel.apache.org Subject: Re: How can I deal with & character in password when sending an

in camel-example-cxf-proxy demo which in camel distribution, how EnrichBean.enrich method was called

2013-03-29 Thread lost_in
hi all, I have post this issue on http://camel.465427.n5.nabble.com/in-camel-example-cxf-proxy-demo-which-in-camel-distribution-how-EnrichBean-enrich-method-was-called-td5729745.html

Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Fladnag
Hi, I have a very simple route in blueprint with 2 transactional endpoints (so, no need of ) and I have a WARN log "Cannot rollback() inside an XASession" all the time the route is up. I have fully read http://camel.465427.n5.nabble.com/OSGI-Transaction-Propagation-to-Camel-Route-td5619520i20.htm

Re: Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Christian Müller
Why do you use XA? Because you only use one transactional resource, a "normal" transaction is sufficient. I recommend to have a look at [1]. And can you use Camel 2.10.x? I will upgrade the examples to the latest Camel version in the next day... [1] https://github.com/muellerc/camel-in-transactio

Re: Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Fladnag
XA was needed in my real project (AMQ + BDD), the test case is just simplified ;o) I can try to upgrade camel, but it's a bit long and I (and my compagny) prefer to use a stable distribution and not a patchwork of version never tested together... but I will try. -- View this message in context:

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-29 Thread Sergey Beryozkin
On 29/03/13 11:05, Claus Ibsen wrote: Hi There is also camel-restlet http://camel.apache.org/restlet It may be easier to get hold of and use. But CXF may have more configuration options, but is also IMHO harder to get started with using - some of that is us to blame, for not having better docum

Re: Camel Context modularisation

2013-03-29 Thread fruxo
Thanks, that is exactly what I needed! F -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Context-modularisation-tp5729984p5730077.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-29 Thread Chris Wolf
Willem, Thanks for the link - I thought I had all the tests because I checked out the code a while ago - then I realized I had only checked out camel-core. BTW, the link you provided is a little off, but I found what I needed to at here: https://svn.apache.org/repos/asf/camel/trunk/components/c

Splitter, Aggregation and Timeouts

2013-03-29 Thread dtauzell
I have a use case like: 1. Message comes in 2. Send modified version of message to one of many recipients 3. Aggregate the responses I want to have a timeout on the aggregation of responses. If one of the recipients takes to long to respond I'll note that in the aggregated response and then di

Re: Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Fladnag
> And can you use Camel 2.10.x? I will upgrade the examples to the latest > Camel version in the next day... Same issue with this environment : SMX 4.5.1 Camel 2.10.4 AMQ 5.7.0 Aries 0.3 Spring 3.0.7 With a fresh download of SMX 4.5.1 distribution, I just doing that : * Starting SMX * osgi:list

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-29 Thread Chris Wolf
Ok, before I go the CXF-RS route (no pun intended) I want to try restlet. To clarify - can I use restlet to consume any RESTful service, or does the service have to be a restlet service? The example client-side code on the the page: http://camel.apache.org/restlet Has: from("direct:start-auth")

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-29 Thread Chris Wolf
I see that the default method is GET, but I urlendcoded the '?' that is part of the service URL, rather then restlet URL. However, it's getting a "no consumer error". My route is: from("direct:readsvc") .to("restlet:http://localhost:4040/some/service%3Fparam1=/root/level2[id='xyz']") .to("log:re

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-29 Thread Chris Wolf
On Fri, Mar 29, 2013 at 9:23 AM, Sergey Beryozkin wrote: > On 29/03/13 11:05, Claus Ibsen wrote: >> >> Hi >> >> There is also camel-restlet >> http://camel.apache.org/restlet >> >> It may be easier to get hold of and use. But CXF may have more >> configuration options, but is also IMHO harder to g

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-29 Thread Chris Wolf
Hello - I just used camel-http to do my RESTful service invocation and it's good enough for my basic purposes. -Chris On Fri, Mar 29, 2013 at 11:30 AM, Chris Wolf wrote: > On Fri, Mar 29, 2013 at 9:23 AM, Sergey Beryozkin > wrote: >> On 29/03/13 11:05, Claus Ibsen wrote: >>> >>> Hi >>> >>>

Re: Splitter, Aggregation and Timeouts

2013-03-29 Thread Christian Müller
No answer for your question, but you are looking for multicast() and not for split(). Sent from a mobile device Am 29.03.2013 15:25 schrieb "dtauzell" : > I have a use case like: > > 1. Message comes in > 2. Send modified version of message to one of many recipients > 3. Aggregate the responses >

Re: Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Christian Müller
Will try it in the next days... Sent from a mobile device Am 29.03.2013 16:08 schrieb "Fladnag" : > > And can you use Camel 2.10.x? I will upgrade the examples to the latest > > Camel version in the next day... > > Same issue with this environment : > SMX 4.5.1 > Camel 2.10.4 > AMQ 5.7.0 > Aries

Re: Splitter, Aggregation and Timeouts

2013-03-29 Thread dtauzell
Does "multicast" let me change or add data to the exchanges that are sent out? My understanding was that it sends the same message out multiple times. -- View this message in context: http://camel.465427.n5.nabble.com/Splitter-Aggregation-and-Timeouts-tp5730087p5730099.html Sent from the Camel

Is there a DataFormat to convert XML string to XML Document?

2013-03-29 Thread Chris Wolf
I don't see any listed here: http://camel.apache.org/data-format.html ...but I find it hard to believe there isn't a way to convert a string to XML without creating a custom processor to parse string data from a web service. Thanks, Chris

Design question: multicaster, request-reply and InOut

2013-03-29 Thread PJ Walstroem
hello, I'm in the process of integrating a number of external parties into a Flight search service. However, I am not sure that our defined routes are optimal. Could someone here do a sanity check? That would be highly appreciated! Requirements: - send async requests to 20-30 external flight serv

Re: Is there a DataFormat to convert XML string to XML Document?

2013-03-29 Thread Raul Kripalani
.convertBodyTo(Document.class) Leverages a feature of Camel called Type Conversion. Raúl. Sent while on the move On 29 Mar 2013 22:40, "Chris Wolf" wrote: > I don't see any listed here: > > http://camel.apache.org/data-format.html > > ...but I find it hard to believe there isn't a way to conve

Re: Splitter, Aggregation and Timeouts

2013-03-29 Thread Raul Kripalani
Yes. The multicast can send to a direct endpoint, which does the transformation and then dispatches to the final destination. Another technique is to use the onPrepare option of the multicast DSL. But this applies better when the same transformation logic is to be applied to each and every target