Re: How can i use CDI with CamelTestSupport

2015-05-21 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 May 21, 2015 at 3:58:00 PM, kikou1984 (hichem.ouesl...@atos.net) wrote: I found a Camel-cdi.jar contains

Re: Web Srevice exposed over https not working

2015-05-19 Thread Willem Jiang
Yeah, the stack trace just tells us the connection is closed. Do you use cxf client to connect the WebService? Can you check if there is any error on the client side? We need more information about the camel route and the client. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog

Re: ERROR: Cannot find any registered HttpDestinationFactory from the Bus.

2015-05-19 Thread Willem Jiang
CXF http transport looks up the HttpDestinationFactory for (Jetty or Netty) if the address is start with “http://; or https://“. If you don’t put those jar into the class patch, you will get the error. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: HttpProducer to ignore response body avoiding stream caching

2015-05-19 Thread Willem Jiang
So you just need to check the statuses code and don’t need to read the message body. Yeah, we can add an option for it to avoid recopying the input stream from the HttpClient. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: How to make Soap Service Provider work over web

2015-05-19 Thread Willem Jiang
=POJO”) -- 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 May 20, 2015 at 2:46:26 AM, gargankur007 (gargankur...@gmail.com) wrote: HI I have came route for Soap

Re: QueueReplyManager - reply received for unknown correlationID

2015-05-13 Thread Willem Jiang
Can you show us the camel route that you have? -- 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 May 11, 2015 at 4:46:02 PM, MS (matija.slivo...@gmail.com) wrote

Re: camel-context.xml getting loaded multiple times

2015-05-10 Thread Willem Jiang
-xml-files.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 May 7, 2015 at 6:00:06 PM, sureshsg (suresh.s...@gmail.com) wrote: Hi I have 3 wars running

Re: Vramel or modifying Camel

2015-05-10 Thread Willem Jiang
to reimplement the Camel core functions. [1]http://camel.apache.org/vertx.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 May 3, 2015 at 7:50:27 AM, Anton Hughes

Re: QueueReplyManager - reply received for unknown correlationID

2015-05-10 Thread Willem Jiang
The CorrelationID is quite important when the message exchange pattern is InOut.  What’s the transport that you use in CXF endpoint? If it uses the JMS transport, I guess that could cause some trouble in your route. Regards, -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog

Re: Using quartz and quartz2

2015-05-10 Thread Willem Jiang
Hi, You are not supposed to use tow quartz endpoint with same relative path setting. Please change the uri to another path such as quartz://sync/myTimer2”. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: Unmarshal not working

2015-05-10 Thread Willem Jiang
Please use the PAYLOAD data format, as the Message data format just redirect the underlay Stream for you in camel route, if you don’t want to handle the SOAP envelope yourself, PAYLOAD is your first choice. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Apache Camel 2.15.2 Released

2015-05-04 Thread Willem Jiang
=projectId=12311211 On behalf of the Camel PMC, -- 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: TypeConversion Error

2015-04-29 Thread Willem Jiang
Can you try to disable the stream cache and try again? -- 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 April 28, 2015 at 9:23:51 PM, Scarpacci (mike.giardine

Re: TypeConversion Error

2015-04-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 April 28, 2015 at 12:37:22 PM, Scarpacci (mike.giardine...@gmail.com) wrote: Hi All, I am using akka-camel to process

Re: Syslog data format incorrect parsing of structured data

2015-04-23 Thread Willem Jiang
I just create a JIRA[1] and the patch is on the way. [1]https://issues.apache.org/jira/browse/CAMEL-8687 -- 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 April

Re: HTTP operation failed invoking statusCode: 500

2015-04-22 Thread Willem Jiang
PAYLOAD message body just have the SOAP headers and SOAP body messages. If you want to send out the PAYLOAD message to a real web service endpoint, you need to use camel cxf endpoint to do it as it will put the message body into a soap envelope. -- Willem Jiang Red Hat, Inc. Web: http

Re: HTTP operation failed invoking statusCode: 500

2015-04-21 Thread Willem Jiang
If you change the data format of the cxf endpoint, you can not just redirect the input stream to a http endpoint, as the PAYLOAD message doesn’t has the soap envelope. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Authentication in pipes and filters ???

2015-04-16 Thread Willem Jiang
I think you can just throw out the authentication failure exception and you can use the error handler to setup some kind of reject exception for the response to use. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: The Camel Kafka component crashes with a NoClassDefFoundError exception.

2015-04-16 Thread Willem Jiang
As the Scala lib has some backward compatible issue, so we cannot apply the scala version we use in camel to the Camel kafka. I think it’s up to the user to choice the right version of Scala there. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Camel-CXF will generate invalid XML in some cases

2015-04-15 Thread Willem Jiang
that is the missing pice that you want to know :) [1]https://github.com/apache/camel/blob/master/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/feature/PayLoadDataFormatFeature.java -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: Handling splitting and error handling

2015-04-15 Thread Willem Jiang
handled(true) just tell camel to keep on processing the message as the error is recovered. So I think you still need use handled(false) in your onException. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

RE: Bi-directional comms on TCP connection

2015-04-15 Thread Willem Jiang
for the client to connect. -- 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 April 16, 2015 at 7:30:45 AM, Quoc Le (quo...@fortna.com) wrote: Hi Willem, I look

Re: SOAP headers not relayed for a SOAP 1.2 service when using CXF component

2015-04-15 Thread Willem Jiang
How did you specify the SOAP 1.2 binding in your camel-cxf endpoint? What kind of soap header were lost? -- 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 April 15

Re: Getting list of contexts or getting context by name

2015-04-15 Thread Willem Jiang
to talk each other within the same CamelContext, such as seda, direct. And we use these component to glue the routes.  So my suggestion is you keep the dynamic routes in the same CamelContext, unless you don’t want them talk to each other.  -- Willem Jiang Red Hat, Inc. Web: http

Re: Bi-directional comms on TCP connection

2015-04-15 Thread Willem Jiang
We implement CAMEL-1077[1] in camel-2.15.x recently, so the ESB can talk to the device as a client to receive the events. But now the miss part is how can we share the channel between netty consumer and the netty producer.  [1]https://issues.apache.org/jira/browse/CAMEL-1077 -- Willem Jiang

Re: Why so many port used when I use camel-netty4-http

2015-04-09 Thread Willem Jiang
I don’t think camel-netty4-http can open those ports like you side. What’s your camel route looks like? Did you just deploy the camel route inside the tomcat? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: camel-ftp 2.15.1 return ftp error code 421

2015-04-09 Thread Willem Jiang
I just try to guess what’s the cause of issue of camel-ftp 2.15.1 by looking up the change log. I’m not sure if changing the receiving buffer could make the difference.  It looks like you just find the key of the issue, am I right? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com

Re: Jetty HTTPS 2way

2015-04-09 Thread Willem Jiang
Which of CXF version are you using? If I remember right CXF fix some SSLv3 issue last year within the version of 2.7.x, I’m not sure if it can cause the issue that you faced. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: camel-ftp 2.15.1 return ftp error code 421

2015-04-06 Thread Willem Jiang
/jira/browse/CAMEL-8513 -- 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 April 6, 2015 at 10:35:40 PM, alexey-s (alex...@mail.ru) wrote: Honestly. 2.15.0

Re: Karaf with Camel 2.15.1, CXF 3.0.4 - which Spring versions can be used?

2015-04-06 Thread Willem Jiang
As we doesn’t specify the spring version inside of camel feature, you need to choice the spring version yourself inside of Karaf. If you load the spring feature 4.0, it should work out of box. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Jetty HTTPS 2way

2015-04-06 Thread Willem Jiang
It looks like some thing is wrong when doing the TLSv1.2 Handshake.  Can you try to use camel-http or camel-http4 to do the same thing? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: camel-ftp 2.15.1 return ftp error code 421

2015-04-06 Thread Willem Jiang
There are only few changes between Camel 2.15.1 and Camel 2.15.0. I’m not sure if CAMEL-7565[1] is related to issue that you faced. [1]https://issues.apache.org/jira/browse/CAMEL-7565 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: XMPP 2.15.0 vs. 2.15.1 failing

2015-04-03 Thread Willem Jiang
I just find the recent change[1] by using the gitk components/camel-xmpp” command. The work around could be change the smack version to 4.0.6. [1]https://issues.apache.org/jira/browse/CAMEL-8520  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: GenericFileMessage creates body from file multiples times

2015-04-02 Thread Willem Jiang
It’s hard for the Camel to know if the null body is intend of just a lazy value. I think you can work around it by setting the message body to be an empty String instead of null if you don’t want to Camel to process the message any more. -- Willem Jiang Red Hat, Inc. Web: http

Re: Apache Camel-Mina2 ExchangePattern

2015-04-02 Thread Willem Jiang
If you just want to do the proxy, it could be quit simple to use the mina API dirtily, you just need to tell the response handler to send the message to channel which receive the request. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: How to handle two dimensional arrays

2015-04-02 Thread Willem Jiang
double split? or you can just turn the Object[][] into a list then use spliter to do the job for you. -- 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 April 1

Re: In project camel-example-cxf unable to resolve resource location : /camel-eclipse-checkstyle

2015-04-02 Thread Willem Jiang
If you want to setup the eclipse project by using mvn eclipse, you need to do it from the root intend of doing it from camel-example-cxf directory. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Apache Camel 2.15.1 released

2015-04-01 Thread Willem Jiang
://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12329441styleName=HtmlprojectId=12311211    On behalf of the Camel PMC,    -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Apache Camel-Mina2 ExchangePattern

2015-04-01 Thread Willem Jiang
Current Camel-Mina2 producer just wait for the response when the endpoint sync option is true, it doesn’t support to set the reply mode dynamically. BTW, can you tell if Message exchange pattern by just looking up the message content? -- Willem Jiang Red Hat, Inc. Web: http

Re: Problem Adding ActiveMQ Broker URL to Camel Context Using Java DSL Type Project

2015-04-01 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 April 1, 2015 at 11:55:49 PM, Wilkerson, Daniel (dwilker...@fullsail.com) wrote: I'm trying to add the correct

Re: Apache Camel and web services

2015-03-31 Thread Willem Jiang
It looks there are more than one version of CXF in your class patch, can you double check 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 March 30, 2015

Re: Apache Camel and web services

2015-03-31 Thread Willem Jiang
Thanks for the information, it’s time to polish the CXF related example to help user speed up with camel-cxf :) -- 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: Annotations are not working in RouteBuilder

2015-03-29 Thread Willem Jiang
As your camel context is created by yourself, it make sense that the Blueprint annotations don’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: Web Service Proxy to track incoming and outcoming messages

2015-03-26 Thread Willem Jiang
]https://cxf.apache.org/javadoc/latest/org/apache/cxf/interceptor/LoggingOutInterceptor.html [3]http://cxf.apache.org/docs/debugging-and-logging.html#DebuggingandLogging-LoggingMessages -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Apache Camel decodes HTTP query params and httpclient fails with Invalid query exception

2015-03-26 Thread Willem Jiang
Hi, Did you try to setup the query parameter with the header name of Exchange.HTTP_QUERY? -- 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 March 26, 2015 at 2

Re: Web Service Proxy to track incoming and outcoming messages

2015-03-26 Thread Willem Jiang
Hi, I guess you just want to create the proxy dynamically, maybe it is based on the request url or content, Am I right? -- 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: Setting up CamelContext with Guice

2015-03-26 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 March 25, 2015 at 2:30:40 AM, Jakub Kotowski (ja...@sindicetech.com) wrote: Hi, how do I setup CamelContext when

Re: IncompatibleClassChangeError

2015-03-24 Thread Willem Jiang
Camel 2.14.x is built with Spring 3.2.x, I think you may need to upgrade the Spring version for 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 March 25

Re: blueprint + myBatis + transactions

2015-03-24 Thread Willem Jiang
camel-mybatis component is out of date, if you still want to use it, you may consider to submit a patch for it. We are always welcome the contribution. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: Authorization with Camel REST DSL?

2015-03-23 Thread Willem Jiang
How about implementing the  AuthorizationPolicy instead of RoutePolicy? -- 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 March 21, 2015 at 10:33:15 PM, Ed Welch

Re: How to set decrypted db password for camel quartz component

2015-03-23 Thread Willem Jiang
It should be easy to use EncryptableProperties[1] to decrypt the password and you can setup the properties instance to QuartzComponent directly. [1]http://www.jasypt.org/encrypting-configuration.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: blueprint + myBatis + transactions

2015-03-23 Thread Willem Jiang
I don’t think camel-mybatis supports Mybatis-spring 1.2.2 as it uses mybatis 3.2.8 which uses the org.apache.iabtis package. -- 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: StackOverflowException for route (using cxf component) sending to soap endpoint

2015-03-23 Thread Willem Jiang
to resolve the 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 March 23, 2015 at 5:44:33 PM, dermoritz (tantea...@hotmail.com) wrote: Thanks for the hints

Re: Http Component Post Parameters

2015-03-19 Thread Willem Jiang
=getNextIDFromDBserviceID=1dataElementID=814dataSourceID=50”) [1]http://stackoverflow.com/questions/14551194/how-are-parameters-sent-in-an-http-post-request -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: StackOverflowException for route (using cxf component) sending to soap endpoint

2015-03-19 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 March 20, 2015 at 12:48:56 AM, dermoritz (tantea...@hotmail.com) wrote: Today we got an StackoverflowException

Re: Camel Hazelcast Component creating multiple instances of Hazelcast

2015-03-17 Thread Willem Jiang
Hi, Camel Hazelcast endpoint supports to set the Hazelcast instance with the option of hazelcastInstance=#INSTANCE_NAME. You may need to write a hazelcastInstance service for it if you want to share some hazelcastInstance across the JVM. -- Willem Jiang Red Hat, Inc. Web: http

Re: DynamicRouter Question...

2015-03-17 Thread Willem Jiang
I just want to ask how did you create the Eclipse project? Please take a look at the maven dependency tree if you use maven the manage the dependencies. Can you check if you put the camel-jaxb dependency into the pom? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Why camel put the post request's form body into request header?

2015-03-17 Thread Willem Jiang
a proxy, you need to setup the bridgeEndpoint option to be true. -- 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 March 18, 2015 at 10:13:00 AM, Yuffie (yuffie.pa

Re: Camel exec component tokenizer in Spring XML DSL removing plus sign in arguments

2015-03-17 Thread Willem Jiang
Camel just replace the “+” with “ “ by default. You can use the RAW() to wrap the args parameter just like this. exec:test?args=RAW(arg1+arg2 arg3) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Slow FTP

2015-03-16 Thread Willem Jiang
Can you try to setup the FtpClient with a big buffer just like this ? from(ftp://foo@myserver?password=secretftpClient.bufferSize=1000;).to(bean:foo); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: Concurrent Consumers creating duplicates

2015-03-16 Thread Willem Jiang
The route looks good to me. Can you double check the JMS acknowledge setting of JMS connection? -- 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 March 16, 2015

Re: Names of custom MBeans contain hex-number at the end

2015-03-16 Thread Willem Jiang
(buffer);     } -- 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 March 17, 2015 at 12:31:06 AM, dermoritz (tantea...@hotmail.com) wrote: I created some custom MBeans

Re: Quartz Component quartz.properties in Karaf

2015-03-16 Thread Willem Jiang
, QuartzComponent.class).setPropertiesFile(org/apache/camel/routepolicy/quartz/myquartz.properties); -- 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 March 13

Re: Concurrent Consumers creating duplicates

2015-03-16 Thread Willem Jiang
I didn’t find the Route definition of wmqRoute, you may need to show us the code of  com.broadridge.adapters.fixadapter.router.WMQRouter. BWT, why do your route need to specify the “ackQueue”? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: camel-catalog 2.15.0 and karaf 2.4.1

2015-03-15 Thread Willem Jiang
It sounds good for me. -- 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 March 14, 2015 at 2:50:35 PM, Claus Ibsen (claus.ib...@gmail.com) wrote: On Fri, Mar 13

Re: Concurrent Consumers creating duplicates

2015-03-15 Thread Willem Jiang
You may need to check the acknowledge module setting of your JMS connection. BTW, can you show us the JMS endpoint setting that you have? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Camel stop routes and start

2015-03-13 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 March 11, 2015 at 11:24:34 PM, majid (mohamed.elgabbo...@peerius.com) wrote: I finally stopping the whole camel context

Re: camel-catalog 2.15.0 and karaf 2.4.1

2015-03-13 Thread Willem Jiang
+1 for releasing Camel 2.15.1 in a 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 March 13, 2015 at 6:03:19 PM, Claus Ibsen (claus.ib...@gmail.com) wrote

Re: camel-catalog 2.15.0 and karaf 2.4.1

2015-03-13 Thread Willem Jiang
local maven repo camel-catalog.jar with this one. [1]https://github.com/apache/camel.git [2]https://www.dropbox.com/s/jzvy36i0dnurvbt/camel-catalog-2.15.0.jar?dl=0 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: LoggingOutInterceptor only info mode, the smartest way ?

2015-03-13 Thread Willem Jiang
://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java -- 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 March 11

Re: Are transactions useful in these use-cases?

2015-03-12 Thread Willem Jiang
There are too many resources need to be managed, I’m not sure if it is worth to put all the options into one transactions.  -- 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-snmp TrapReceiveTest fails

2015-03-12 Thread Willem Jiang
I can reproduce the error and just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-8479 -- 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

Apache Camel 2.15.0 released

2015-03-10 Thread Willem Jiang
://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12327940styleName=projectId=12311211    On behalf of the Camel PMC,   -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo

Apache Camel 2.14.2 released

2015-03-10 Thread Willem Jiang
://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12329070styleName=HtmlprojectId=12311211   On behalf of the Camel PMC,   -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo

Apache Camel 2.13.4 released

2015-03-10 Thread Willem Jiang
]  https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12328899styleName=projectId=12311211   On behalf of the Camel PMC,   -- 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: How to setHeader reponse code ?

2015-03-09 Thread Willem Jiang
Hi, You can setup the response from the SOAPFault setStatusCode method. Just like this: SoapFault sf = new SoapFault(Central svarer ikke hos + central, SoapFault.FAULT_CODE_SERVER); sf.setStatusCode(504); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Why GenericFile is a generic type?

2015-03-08 Thread Willem Jiang
Hi, I think the main reason is we have other File related components such Ftp, Sftp extends the GenericFileComponent and has different File type which doesn’t share the same File parent. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: Context level intercept/filter layers

2015-03-08 Thread Willem Jiang
://github.com/apache/camel/tree/master/components/camel-spring-security [3]https://github.com/apache/camel/blob/master/components/camel-spring-security/src/main/java/org/apache/camel/component/spring/security/SpringSecurityAuthorizationPolicy.java -- Willem Jiang Red Hat, Inc. Web: http

Re: Camel Cxf: How can I change the namespace of my incoming message?

2015-03-05 Thread Willem Jiang
#L76 -- 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 March 5, 2015 at 4:41:46 PM, cgiera (christoph.gi...@mic-cust.com) wrote: I think it should work

Re: Camel Cxf: How can I change the namespace of my incoming message?

2015-03-05 Thread Willem Jiang
Can you show me how did you create the camel context and setup the route builder? -- 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 March 5, 2015 at 7:35:53 PM

Re: Camel Cxf: How can I change the namespace of my incoming message?

2015-03-05 Thread Willem Jiang
You can define instance of CxfEndpointConfigurer the in the camel-context.xml just like this. !-- setup the CxfEndpointConfigurer bean here --    bean id=myConfigurer class=org.apache.camel.component.cxf.CxfTimeoutTest$MyCxfEndpointConfigurer / -- Willem Jiang Red Hat, Inc. Web: http

Re: Camel Cxf: How can I change the namespace of my incoming message?

2015-03-05 Thread Willem Jiang
It looks the camel context you set to CxfEndpoint is not the one that camel-context.xml creates. You may ned to some work on the route builder that you extend. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: Problem with Message Order using Camel, JMS, and CXF

2015-03-04 Thread Willem Jiang
Thanks for sharing this with us, I just updated the camel-cxf wiki page for 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 March 5, 2015 at 12:05:43 AM

Re: Exchange timeout Mina2 issues

2015-03-04 Thread Willem Jiang
I think the server just close the connection when there is no further conversion for a long time. It’s hard for the client or server to tell if the connection is still open until write the message to the socket. Can you introduce some ping message to keep the TCP connection alive? -- Willem

Re: camel-blueprint.xsd is not updated

2015-02-28 Thread Willem Jiang
Hi Yogesh, I just checked size of camel-blueprint.xsd of camel blueprint schema[1], it is same with the one of camel-blueprint-2.14.1.xsd. [1]http://camel.apache.org/schema/blueprint/ -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: Failover with Camel CXF

2015-02-26 Thread Willem Jiang
The camel route that you have just redirect the request to 3 different service endpoints with a distribution ratio. If you wants the client to access other service endpoint if it cannot access the service endpoint, you need to use the failover instead of roundRobin. -- Willem Jiang Red Hat

Re: camel-blueprint.xsd is not updated

2015-02-26 Thread Willem Jiang
It’s done. -- 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 February 26, 2015 at 7:52:40 AM, Willem Jiang (willem.ji...@gmail.com) wrote: We need to do

Re: Failover with Camel CXF

2015-02-25 Thread Willem Jiang
Hi, You need to specify the LoadBalanceType such as Failover or roundRobin. You can find more information here[1] [1]https://camel.apache.org/load-balancer.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: camel-blueprint.xsd is not updated

2015-02-25 Thread Willem Jiang
We need to do it manually, 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 February 24, 2015 at 9:53:43 PM, yogu13 (yog

Re: CamelBlueprintTest randomly failing tests

2015-02-17 Thread Willem Jiang
Hi, Does your QA box have the internet access? -- 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 February 6, 2015 at 6:35:47 PM, Ayache Khettar (ayache.khet

Re: camel jetty form data not working

2015-02-01 Thread Willem Jiang
camel jetty is using org.eclipse.jetty.servlets.MultiPartFilter to handle the multi part message, you may need to extend MultiPartFilter for it. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: REST DSL - including documents

2015-02-01 Thread Willem Jiang
When you specify the option value which is start with “#”, camel always looks up the instance  from the registry with the rest of string.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Exposing request/response Web Service that would interact with legacy system

2015-02-01 Thread Willem Jiang
there. [1]https://camel.apache.org/jms [2]http://camel.apache.org/producertemplate.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 January 29, 2015 at 9:41:14 PM

Re: Periodic queue consumer

2015-02-01 Thread Willem Jiang
I think the polling consumer[1] can meet your needs. Now you may need to implement the polling consumer for your queue. [1]http://camel.apache.org/polling-consumer.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: camel-ahc issue

2015-02-01 Thread Willem Jiang
It’s not a good idea to send the multiple requests through a single channel, as it could confuse the async handler when it receive the response. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: Spring Camel Quartz cluster configuration

2015-01-29 Thread Willem Jiang
Hi, org.springframework.scheduling.quartz.SchedulerFactoryBean is a FactoryBean, you can get the scheduler instance by calling the getObject() method. you need to put the camel context instance into the schedulerContextAsMap. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog

Re: Camel 2.14.2 version

2015-01-29 Thread Willem Jiang
Camel 2.14.2 will be release at the end of Q1 2015. -- 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 20, 2015 at 6:55:41 AM, Kranti Parisa (kranti.par

Re: question about mod sec parameters

2015-01-29 Thread Willem Jiang
I don’t think this question is related Apache 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: 姜宁willem On January 16, 2015 at 8:41:35 PM, sterngre (stern...@gmail.com

Re: CamelContextLifecycle causes ClassNotFoundException when compiled with java 1.7

2015-01-29 Thread Willem Jiang
Can you check if you build source target is java 1.6? Camel starts to support Java 1.7 since camel-2.14.x. You can find more information here[1] [1]http://camel.apache.org/building.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English

Re: Issue setting property on the object which in the exchange body

2015-01-29 Thread Willem Jiang
about Bean Binding here[1] [1]https://camel.apache.org/bean-binding.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 January 21, 2015 at 4:27:37 AM, gilboy

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