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

2013-03-31 Thread liugang
Hi See http://camel.465427.n5.nabble.com/HEADS-UP-Configuring-passwords-in-Camel-en dpoints-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? >

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

2013-03-29 Thread liugang
ending an email Hi See http://camel.465427.n5.nabble.com/HEADS-UP-Configuring-passwords-in-Camel-en dpoints-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 c

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

2013-03-29 Thread liugang
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, seems both of them doesn't work. > > I'm using camel 2.10.4 . > > Can anybody give me a tip? Thanks very

RE: How many Escape characters in Camel

2013-03-29 Thread liugang
-- 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.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo

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

How many Escape characters in Camel

2013-03-28 Thread liugang
Hi All: Does anybody can give me a link or an answer about this problem: How many Escape characters in Camel ? For example, if I want to send an email, and the password includes '&', then I have to use & right? Thanks. Gangliu

RE: Multiple Endpoint URLs defined at one component

2013-01-14 Thread liugang
template.sendBody("direct:a", "a"); template.sendBody("direct:b", "b"); template.sendBody("direct:c", "c"); template.sendBody("direct:d", "d"); mock.assertIsSatisfied(); } } And yes, it's possi

Multiple Endpoint URLs defined at one component

2013-01-14 Thread liugang
Hi All: I'd like to know it's there any Camel component which support to define multiple consumer(provider?) endpoint urls in it? For example: from("XXX:direct:a, direct:b, direct:c,jms:queue:a,...").to("..."); in this case, the "from" can handle the massage no matter it sends to "direct

RE: RecipientList with delimiter argument

2013-01-09 Thread liugang
logged a ticket https://issues.apache.org/jira/browse/CAMEL-5945 On Wed, Jan 9, 2013 at 8:00 AM, liugang wrote: > Hi All: > > > > When I plan to use recipientList component, I can only select one from: > > > > Method 1: > >

RecipientList with delimiter argument

2013-01-08 Thread liugang
Hi All: When I plan to use recipientList component, I can only select one from: Method 1: public RecipientListDefinition recipientList(Expression recipients) {...} Method 2: public RecipientListDefinition recipientList

RE: Problem of Intercept with When Condition

2012-11-16 Thread liugang
Ok, understand. Thanks. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, November 16, 2012 4:46 PM To: users@camel.apache.org Subject: Re: Problem of Intercept with When Condition On Fri, Nov 16, 2012 at 8:52 AM, liugang wrote: > Hi Claus: > &g

RE: Problem of Intercept with When Condition

2012-11-15 Thread liugang
ovember 16, 2012 3:49 PM To: users@camel.apache.org Subject: Re: Problem of Intercept with When Condition On Fri, Nov 16, 2012 at 8:01 AM, liugang wrote: > Hi Willem: > > Yes, if you add the "when" close to the "intercept", there's no problem. > &

RE: Problem of Intercept with When Condition

2012-11-15 Thread liugang
www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Friday, November 16, 2012 at 2:07 PM, liugang wrote: > Hi All: > > > I have followin

Problem of Intercept with When Condition

2012-11-15 Thread liugang
Hi All: I have following codes: intercept().process(new Processor() { public void process(Exchange exchange) throws Exception { System.out.println("Intercept without condition");

RE: Exception occurs when deploy a Route Bundle which contains Javascript Language into Karaf

2012-11-08 Thread liugang
:41 AM, liugang wrote: > Yes, I installed the camel-script feature > The camel version is 2.10.2, and karaf is 2.2.9 > > For Groovy and jruby seems ok (because they are using external engine, > right?) > > But for js, I have this problem. I think I have all dependencies. &

RE: Exception occurs when deploy a Route Bundle which contains Javascript Language into Karaf

2012-11-07 Thread liugang
using? On Thu, Nov 8, 2012 at 8:34 AM, liugang wrote: > Hi All: > > When I deploy a bundle which includes Javascript Language into Karaf, I got > an Exception "No Script engine could be created for:js" > This may be caused by the classloader p

Exception occurs when deploy a Route Bundle which contains Javascript Language into Karaf

2012-11-07 Thread liugang
Hi All: When I deploy a bundle which includes Javascript Language into Karaf, I got an Exception "No Script engine could be created for:js" This may be caused by the classloader problem, it can't find the com.sun.script.javascript.RhinoScriptEngineFactory and com.sun.script.javascript.RhinoScriptE

RE: [Question] Seems wireTap will always copy the origin Message

2012-10-29 Thread liugang
:19 AM, liugang wrote: > Hi: > > Thanks for your quick reply, I have fired a bug > https://issues.apache.org/jira/browse/CAMEL-5746 . > > And one more question: > > The maven dependencies of camel-saxon were changed from 2.9.3 to 2.10.2 , > and on 2

RE: [Question] Seems wireTap will always copy the origin Message

2012-10-26 Thread liugang
eems wireTap will always copy the origin Message On Fri, Oct 26, 2012 at 10:36 AM, liugang wrote: > Hi All: > > I found the wiretap will always copy the original exchange message after > deprecated those methods like " wireTap(String uri, boolean copy, Expression > body) &

[Question] Seems wireTap will always copy the origin Message

2012-10-26 Thread liugang
Hi All: I found the wiretap will always copy the original exchange message after deprecated those methods like " wireTap(String uri, boolean copy, Expression body) " and " wireTap(String uri, boolean copy, Processor processor)" . Checked the source code of org.apache.camel.model.WireTapDefinition