Re: mvn clean install -Pvalidate

2015-01-29 Thread Willem Jiang
I just checked the http://scriptengines.googlecode.com/svn/m2-repo/“, it can be accessed now. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 21, 2015

Re: Calling REST service without using spring

2015-01-28 Thread Willem Jiang
”, CONTEXT_PATH is the war file name. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 27, 2015 at 12:23:25 AM, chitra1986 (chitra1...@gmail.com) wrote

Re: Http 3 Component and Credential delegation

2015-01-28 Thread Willem Jiang
. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 28, 2015 at 7:24:33 PM, richardgroote (richard.gro...@gmail.com) wrote: Good day, When using the HTTP(3

Re: Apache Camel Base64 Encoding Issue: java.lang.NoSuchMethodError

2015-01-26 Thread Willem Jiang
It looks like you have different version of common codec in your class patch. Can you use “mvn dependency:tree” to check if there is a lower version of common codec is included in your class path. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Camel-Netty ReadTimeout event not trigerred

2015-01-14 Thread Willem Jiang
I guess you want to handle the ReadTimeout exception in your decoder. As we just add the ReadTimeoutHandler after the customer decoder and encoder, your decoder may not get the exception as you want. The issue could be fixed by applying the ReadTimeoutHandler at the first place. -- Willem

Re: How to identify channel initialization in camel-netty

2015-01-14 Thread Willem Jiang
decoders in parallel. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 14, 2015 at 8:57:16 PM, V4Vaithi (alagappan.i...@gmail.com) wrote: How to identify new

Re: Where is logName used?

2015-01-14 Thread Willem Jiang
The “com.foo.server.ngw.router” is the log name to use, I’m not sure why the “org.slf4j.helpers.MarkerIgnoringBase” is used. Can you double check your log configuration to make sure you setup the log rightly? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: onException is ignored

2015-01-14 Thread Willem Jiang
I just saw the org.slf4j.helpers.MarkerIgnoringBase is use to write the warning and error message. I guess it may relate to your log configuration. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Intermittent error: No content to map due to end-of-input

2015-01-14 Thread Willem Jiang
When you convert the message into String, the message can be read more than once. When you reset the stream cache, you can read the message again. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Possibility to track (monitor) inbound/outbound messages (request/response)

2015-01-12 Thread Willem Jiang
You may consider to use the OnCompletion[1] to process the response message. [1]http://camel.apache.org/oncompletion.html Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo

Re: Timeout Exception in S3 download

2015-01-11 Thread Willem Jiang
Can you increase the delay option and maxMessagePerPoll to see if the error is still there? from(aws-s3://MyBucket?amazonS3Client=#clientdelay=5000maxMessagesPerPoll=5) .to(mock:result”); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: [feature request] Reporting startup failure

2015-01-09 Thread Willem Jiang
) at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:543) ... 32 more -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 10, 2015 at 3:27:34 PM

Re: Check endpoints available without looking into the endpoints cache

2015-01-09 Thread Willem Jiang
You can use applicationContext.getBean(name) to look up the endpoint that you want to use. The applicationContext can be got from SpringCamelContext. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: S3 route problem when access key and secret key are in URI

2015-01-09 Thread Willem Jiang
You can use raw()[1] to wrap the access key and secret key to avoid the encoding of URI. [1]https://camel.apache.org/configuring-camel.html#ConfiguringCamel-Configuringparametervaluesusingrawvalues,egsuchaspasswords -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: http client - javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

2015-01-09 Thread Willem Jiang
You can setup the sslContext by implementing a HttpClientConfigurer[1]. [1]https://camel.apache.org/http4#HTTP4-ConfiguringApacheHTTPClientDirectly -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Irrecoverable faults

2015-01-09 Thread Willem Jiang
setup the exchange stop header to be true just like this: exchange.setProperty(Exchange.ROUTE_STOP, Boolean.TRUE); [1]https://camel.apache.org/controlbus.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: onException is ignored

2015-01-09 Thread Willem Jiang
If the Exception is thrown from the source() endpoint, the onException error handler won’t work as you expected. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Http4 Component - 2.14 - Set Request Timeout

2015-01-09 Thread Willem Jiang
You can use the option httpClient.connectTimeout=6 to set the request timeout. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 9, 2015 at 4:09:39 AM

Re: Integration Testing multiple camel Context in Spring DSL

2015-01-08 Thread Willem Jiang
. Then you can just use the CamelSpringTestSupport as you used to. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 9, 2015 at 3:34:38 AM, leofprince

Re: Camel CXF SOAP Service

2015-01-06 Thread Willem Jiang
It look like a issue of SOAPUI instead of CXF or Camel. Did you try to use different version of SOAPUI to generate the quest for the example? Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http

Re: elasticsearch component config issues

2015-01-06 Thread Willem Jiang
, please feel free to add a JIRA for it. [1]https://github.com/apache/camel/blob/master/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchEndpoint.java#L82-L86 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Custom Codec for TCP IP

2015-01-06 Thread Willem Jiang
-netty4[2] document for more information. [1]https://camel.apache.org/netty [2]https://camel.apache.org/netty4 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

[ANNOUNCE] Apache Camel 2.14.1 Released

2014-12-17 Thread Willem Jiang
://camel.apache.org/download.html  [4]http://camel.apache.org/camel-2141-release.html  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: camel jetty form data not working

2014-12-16 Thread Willem Jiang
How did you submit the attachments? camel-jetty supports multipart/form out of box. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 15, 2014 at 2:48:14

Re: configuring Camel with XML DSL and Guice in tomcat

2014-12-16 Thread Willem Jiang
I don’t think you need to dependency injection in your XML DSL, as we just look up the instance from the registry. Can you give an example that you need to use Guice to do the DI work? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: missing region property in aws-sns component

2014-12-16 Thread Willem Jiang
I just went through the code we need to setup the endpoint before creating the new topic. Here is the JIRA[1] I just created. [1]https://issues.apache.org/jira/browse/CAMEL-8156 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Intermittent error: No content to map due to end-of-input

2014-12-16 Thread Willem Jiang
Did you try to reset the StreamCache before try to read something from it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 16, 2014 at 3:04:45 PM

Re: Changes in Java 8 generics breaking Camel

2014-12-15 Thread Willem Jiang
Current Camel 2.14.0 is built with JDK7 and we run the CI with JDK8 and didn’t find the issue that you said. Can you create a JIRA and submit a test case for it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: cfx web service client error

2014-12-15 Thread Willem Jiang
It looks like you didn’t setup your camel route rightly? Can you show me your camel route? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 15, 2014

Re: Can't find the BindingOperationInfo with operation name {urn:...}login.

2014-12-13 Thread Willem Jiang
Hi, It looks like you setup a wrong service class attribute, it should be “com.netsuite.webservices.platform_2014_2.NetSuitePortType” instead of  “com.netsuite.webservices.platform_2014_2.NetSuiteService” -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: EventNotifierSupport - Endpoint ID accessible ?

2014-12-13 Thread Willem Jiang
The id attribute is define in OptionalIdentifiedDefinition which can be unmarshaled from xml. But it’s not defined in endpoint, so you cannot access it from endpoint. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: AWS-DDB

2014-12-13 Thread Willem Jiang
What’s kind of test mode do you use? The exception message  is The security token included in the request is invalid”, can you double check if your security token is set rightly? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Throttling based on content in camel

2014-12-13 Thread Willem Jiang
+1 to create a new ThrottlingContentBasedRoutePolicy, and we can do some refactoring to let ThrottlingContentBasedRoutePolicy and  ThrottlingInflightRoutePolicy share some common logic in a super class. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Throttling based on content in camel

2014-12-11 Thread Willem Jiang
On December 11, 2014 at 12:55:03 AM, yogu13 (yogesh@synechron.com) wrote: Hi, We need to do throttling based on id which is received as part of the request but what I see that the default implementation of org.apache.camel.impl.ThrottlingInflightRoutePolicy is based on

Re: Throttling based on content in camel

2014-12-11 Thread Willem Jiang
We love contribution, please submit your Pull Request once you finish the feature. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 11, 2014 at 7:23:22

Re: Camel-Hive

2014-12-11 Thread Willem Jiang
We don’t have camel-hive component, Do you use camel-jdbc or camel-sql instead? It more like a Hive issue instead of Camel. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁

Re: FW: Spring Camel Parent Context

2014-12-09 Thread Willem Jiang
and abstraction.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 9, 2014 at 9:35:49 AM, JustinCRL (justin.rosenb...@crlcorp.com) wrote: I got farther

Re: HttpProducer endpoint with unlimited/limited redelivery - memory leak

2014-12-09 Thread Willem Jiang
input stream is consumed. I created a JIRA[1] for it and committed a quick patch for it.  [1]https://issues.apache.org/jira/browse/CAMEL-8134  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: HttpProducer endpoint with unlimited/limited redelivery - memory leak

2014-12-09 Thread Willem Jiang
Hi Radek, It’s more complex than you thought. We need to clean up the cached the file in some place. I just added some unit tests to make sure we don’t introduce regress issue again. You can check out the patch if you are interesting about the whole context :) -- Willem Jiang Red Hat, Inc

Re: cfx web service client error

2014-12-09 Thread Willem Jiang
You just defined a wrong service name, it could be “s:Service1Soap”, or “s:Service1Soap12”. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 9, 2014

Re: TypeConversionException RabbitMQ

2014-12-08 Thread Willem Jiang
Hi, Can you show us the code of IterateEmailsProcessor? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 9, 2014 at 12:51:03 PM, Alan Camillo (alancami

Re: Using camel without spring

2014-12-07 Thread Willem Jiang
is same with the one that we use in Spring. The only short coming of this approach is you cannot create multiple camel context unless you change the code of JndiCamelServletContextListener. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: clearing headers causes infinite redelivery

2014-12-07 Thread Willem Jiang
/HeaderFilterStrategy.html [2]http://camel.apache.org/how-to-avoid-sending-some-or-all-message-headers.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 8, 2014 at 8:22:04

Re: Using camel without spring

2014-12-07 Thread Willem Jiang
the example for this usage shortly. [1]https://camel.apache.org/servletlistener-component.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 8, 2014 at 9:31:29

Re: rest client - post a json content to and http enpoint

2014-12-03 Thread Willem Jiang
camel-http[1] and camel-http4[2] can do the work for you. [1]https://camel.apache.org/http [2]https://camel.apache.org/http4 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁

Re: Camel-CXF dependency with Spring

2014-12-03 Thread Willem Jiang
Hi  CXF and Camel have no hard dependencies of Spring. You can exclude the dependency of spring when you use the camel-cxf component. If you use java code to setup the cxf endpoints you don’t need to use any spring jars.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Quartz clustering in camel spring DSL - JIRA CAMEL-8076

2014-12-03 Thread Willem Jiang
Hi Selva, Thanks for sharing your patch with us. Your patch looks good to me, and I managed to reproduce the error by doing some change in the  SpringQuartzConsumerTwoAppsClusteredRecoveryTest.  I will commit the patch shortly. Regards, -- Willem Jiang Red Hat, Inc. Web: http

Re: camel xslt with saxon 8.7

2014-11-27 Thread Willem Jiang
You may consider to use Camel 2.13.3 instead of Camel 2.14.0. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 27, 2014 at 9:12:48 PM, Ronny Aerts

Re: CxfRs producer: connection not closed

2014-11-27 Thread Willem Jiang
the stream after consuming the stream. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 27, 2014 at 10:00:16 PM, thib (thibaut.rob...@gmail.com) wrote

RE: camel xslt with saxon 8.7

2014-11-27 Thread Willem Jiang
I’m afraid we cannot provide a wider rang of third party library support in Apache Camel. In this case, you may consider to back port the simple language patch to the Camel 2.13.x yourself, or you can just build the camel-saxon 2.13.3 with camel-core 2.14.0. -- Willem Jiang Red Hat, Inc

Re: NPE with language:ruby and concurrentConsumers

2014-11-27 Thread Willem Jiang
Which version of JRuby are you using? I just ran the test in Camel master (2.15-SNAPSHOT) with JDK8 and JDK7, all tests are passed. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: NPE with language:ruby and concurrentConsumers

2014-11-27 Thread Willem Jiang
It’s look like an issue of JRuby, I reproduced the issue with JRuby 1.7.13, and the test was passed with JRuby 1.7.16. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Error when using xquery

2014-11-27 Thread Willem Jiang
What’s your camel look like? You don’t need to use ScriptBuilder when using the xquery. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 27, 2014 at 11

Re: Somewhat inconsistent behaviour for message logging

2014-11-27 Thread Willem Jiang
free to create a JIRA and submit your patch :) [1]https://issues.apache.org/jira/browse/CAMEL-7951 [2]https://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Servlet component matchOnUriPrefix is not working as documented

2014-11-27 Thread Willem Jiang
Can you try your test case with the latest released Camel 2.14.0 to see if the issue is still there? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 27

Re: Sending a Request to camel rout from rx java observable

2014-11-27 Thread Willem Jiang
the one from the ProucerTemplate. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 27, 2014 at 6:27:58 AM, Litom (lit...@liveperson.com) wrote: How can I

RE: Somewhat inconsistent behaviour for message logging

2014-11-27 Thread Willem Jiang
It is consistent behaviour to let DefaultExchangeFormatter take the consideration of Exchange.LOG_DEBUG_BODY_MAX_CHARS property. +1 for your proposer. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: CxfBean Authentication

2014-11-27 Thread Willem Jiang
/configuration/security;   xmlns=http://cxf.apache.org/transports/http/configuration;   authorization      sec:UserNamemyuser/sec:UserName      sec:Passwordmypasswd/sec:Password      sec:AuthorizationTypeBasic/sec:AuthorizationType   /authorization /conduit -- Willem Jiang Red Hat, Inc. Web: http

Re: Multicast with multiple timeouts

2014-11-26 Thread Willem Jiang
I can reproduce the error, the patch is on the way. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 26, 2014 at 12:19:05 AM, gquintana (gerald.quint

Re: Camel 2.14.0 Matrix Params are missing

2014-11-26 Thread Willem Jiang
Hi Kumaran, Thanks for your contribution. Could you create a JIRA[1] and submit the diff patch to it? It could be more easy for us to track the issue and apply the patch. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Multicast with multiple timeouts

2014-11-26 Thread Willem Jiang
I just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-8081 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 26, 2014 at 9:44

Re: CxfRs producer: connection not closed

2014-11-26 Thread Willem Jiang
Thanks for pointing that out, I just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-8082 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Issue in FILE consumer URI having startingDirectoryMustExist set to true

2014-11-25 Thread Willem Jiang
It’s strange your uri is options is start with “?”. You can double check with it? BTW, I just added a unit test[1] to file endpoint, it look like   startingDirectoryMustExist option workd rightly. [1]https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commit;h=3697fbc9 -- Willem Jiang Red

Re: CXF component attachment support for POJO not implemented as specified

2014-11-25 Thread Willem Jiang
If we cannot access the attachment from the the MessageContentList in POJO model, the solution sounds good. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Quartz clustering in camel spring DSL - JIRA CAMEL-8076

2014-11-25 Thread Willem Jiang
cluster looks like ? If you have a test case to share, it could help us to resolve the issue more easily. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Where to do context setup stuff in a guice enabled camel app

2014-11-25 Thread Willem Jiang
, such as extends the GuiceCamelContext to made the startUpLogic injectable. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 25, 2014 at 5:11:07 PM, dermoritz

Re: Temporary queues, or, jms uri from camel uri?

2014-11-25 Thread Willem Jiang
Camel JMS Consumer doesn’t need to specify the replyTo option from the endpoint, as it just read the JMS property  to find out the Jms destination to send the reply message. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: rest client - post a json content to and http enpoint

2014-11-25 Thread Willem Jiang
I’m so glad to see you already find a way to resolve this kind of issue. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 26, 2014 at 5:36:42 AM

Re: Quartz clustering in camel spring DSL - JIRA CAMEL-8076

2014-11-25 Thread Willem Jiang
           quartZ    cluster    141690564     141690540   5        CRON          WAITING  The RECOVERING_JOBS JOB_Name is quartz, but the cluster JOB_NAME is quartZ. The laster character name is different. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Quartz job data deletion in clustered quartz2

2014-11-24 Thread Willem Jiang
Hi Lakshmi, We did some work in camel-quartz2 recently such as reschedule the job for cluster[1], do you mind test them to see if it fix some of your cluster issue? You can use Camel 2.14.1-SNAPSHOT for verification. [1]https://issues.apache.org/jira/browse/CAMEL-7627 -- Willem Jiang Red

Re: Camel-Restlet 2.14.0 DecodeRepresentation

2014-11-24 Thread Willem Jiang
/CAMEL-8078  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 24, 2014 at 9:52:44 PM, sandp (sandeepred...@gmail.com) wrote: Hi, I just looked at the code

Re: CXF component attachment support for POJO not implemented as specified

2014-11-20 Thread Willem Jiang
://github.com/apache/camel/blob/master/components/camel-cxf/src/test/resources/mtom.wsdl -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 21, 2014 at 2:48:50

Re: Repo and tag for the jsmpp source bundled with camel-smpp

2014-11-20 Thread Willem Jiang
When you look up the source of jsmpp, you should not compare it with camel-smpp. They are two different projects. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: host multiple environment from same installation

2014-11-20 Thread Willem Jiang
Fabric8[1] supports it. [1]http://fabric8.io/ -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 21, 2014 at 2:55:52 AM, arno noordover

Re: Appending to an already existing XMl with same root node

2014-11-20 Thread Willem Jiang
It looks like a XStream issue instead of a Camel issue. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 21, 2014 at 7:09:29 AM, karthik.subramanian2

Re: CXF component attachment support for POJO not implemented as specified

2014-11-19 Thread Willem Jiang
through the message and POJO parameter list at same time.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 20, 2014 at 12:53:17 AM, pkmcculloch (pkmccull

Re: Register a new datasource from a route

2014-11-19 Thread Willem Jiang
You can define a factory bean to instantiate the data source. When the object export with the name A, camel can look it up from the Spring application context. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: direct-vm in OSGI - how to handle context updates?

2014-11-19 Thread Willem Jiang
Hi Thomas, As the “vm-producer” and “vm-consumer” are decoupled, you have to address the context start order from outside (such as deploy time). -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Problem Configuring WSS4JInInterceptor using camel-config.xml

2014-11-19 Thread Willem Jiang
and you can access the message body just like MESSAGE data format. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 19, 2014 at 8:05:58 PM, Royamit (amitroy

Re: CXF webservice deployment on glassfish

2014-11-18 Thread Willem Jiang
It looks CXF doesn’t follow the @PostConstruct instruction[1]. [1]https://docs.oracle.com/javaee/7/api/javax/annotation/PostConstruct.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Servlet Component with REST DSL: problem in URI query string construction?

2014-11-18 Thread Willem Jiang
I’m afraid you have to wait for the release of Camel 2.14.1 which will be released in next month. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 18

Re: camel cxf convert comma separated string to one parameter - how to escape comma

2014-11-18 Thread Willem Jiang
You may need to put the String parameter into Object array to avoid the type converter misfire.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 18

Re: Camel webservice sample Error

2014-11-18 Thread Willem Jiang
Which version of camel were you using? Did you try the latest release one  — Camel 2.14.0? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 18, 2014 at 7

Re: Caused by: java.net.MalformedURLException: no protocol: ${systemurl}

2014-11-17 Thread Willem Jiang
You can use message header to override the address setting of CXF just like this from(routerEndpointURI).to(log:org.apache.camel?level=DEBUG)    .setHeader(Exchange.DESTINATION_OVERRIDE_URL, constant(getServiceAddress()))     .to(serviceEndpointURI); -- Willem Jiang Red Hat, Inc. Web: http

Re: Servlet Component with REST DSL: problem in URI query string construction?

2014-11-17 Thread Willem Jiang
It’s a bug of Camel[1] which has been fixed few weeks ago. [1]https://issues.apache.org/jira/browse/CAMEL-7971 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: CXF - Error starting route with CXF endpoint

2014-11-14 Thread Willem Jiang
Can you double check if you start the CXF endpoint twice? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 14, 2014 at 8:53:33 PM, contactreji (contactr

Re: Multipart form data and servlet/restlet endpoint

2014-11-13 Thread Willem Jiang
I’m not sure what kind of web container that you use. Here is a link[1] about how to do it with tomcat 7. [1]http://stackoverflow.com/questions/8047173/how-to-enable-multipart-form-data-in-tomcat-7-0-8-server -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Error while deploying camel proxy in tomcat

2014-11-13 Thread Willem Jiang
I guest you are using Spring Web Application context listener to watch the change of camel-config.xml.  I think you need to make sure the Spring Application close rightly before redeploy the war again. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: .toUpperCase() doesn't work in the simple expression below.

2014-11-13 Thread Willem Jiang
I think you can consider to set exchange property by using some other script which supports toUpperCase(). Then reference it in the simple expression. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-12 Thread Willem Jiang
Here are some information about it. If you can still reproduce the error, you can create a JIRA[2] and submit a small test case for it. [1]http://camel.apache.org/maven-2-snapshot-repository-in-pom.html [2]http://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web: http

Re: HalfOpen state implementation in CircuitBreaker

2014-11-12 Thread Willem Jiang
I will take care of it today. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 12, 2014 at 8:08:37 PM, Matteo Pavesi (pavesi.mat...@gmail.com) wrote

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-12 Thread Willem Jiang
10.1.107.71 is an internal network address, are you sure you need to use proxy to access it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 12, 2014

Re: CXF webservice deployment on glassfish

2014-11-12 Thread Willem Jiang
Yeah, it should be cxf-rt-transports-http, and you need include the cxf-rt-transports-http-jetty there. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-12 Thread Willem Jiang
Hi Gonzalo, I’m glade that you find a way to solve the problem with Camel. Please keep in mind reporting bugs could make Camel even better :) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Message router pattern : is this the best way to solve thousands of filter problem ?

2014-11-12 Thread Willem Jiang
Hi, I think you need to do some work to aggregate these thousands of filters into tens filters. Current Camel doesn’t has this kind of aggregation tools, but I think you may try to look at the drools[1] to see if it can apply these filters for you. [1]http://www.drools.org/ -- Willem Jiang

Re: Error while deploying camel proxy in tomcat

2014-11-12 Thread Willem Jiang
It look the jetty server doesn’t shutdown rightly. You may need to check the code of camel-config.xml deployer to see if it shutdown the camel context rightly. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: camel-jetty and Access-Control-Allow-Origin header

2014-11-12 Thread Willem Jiang
You can add the header into message header when you want to send it back. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 12, 2014 at 1:56:39 PM, vvsh

Re: Multipart form data and servlet/restlet endpoint

2014-11-12 Thread Willem Jiang
We apply the multipart handler to jetty endpoint by default. If you use camel-servlet, it’s your job to setup that kind of filter in the web.xml to parser the Multipart form data for you. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: CXF webservice deployment on glassfish

2014-11-11 Thread Willem Jiang
Can you check if you put the cxf-rt-http jar into your class path? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 11, 2014 at 5:48:55 AM, sab12in (sab1

Re: Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10

2014-11-11 Thread Willem Jiang
I cannot find the exception of crypto:verify from the stack trace. I think relate to the verify setting, you are supposed to use the private key to sign and using the public key to verify.  Can you double check the key store setting? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com

<    1   2   3   4   5   6   7   8   9   10   >