Re: syslog

2022-02-27 Thread Willem Jiang
Here is the translated question. "Using netty to receive udp messages using unmashal().syslog() to parse Chinese message, I got the error encoded message, how should I solve?" I think it more like an encoding error, and we need more detail context information. Willem Jiang Twitter: w

Re: Submit your presentation proposals for two ApacheCons!

2021-04-21 Thread Willem Jiang
I think holding a roundtable discussion in the meeting could be a good idea if we want to share the user experience of Camel or the latest development of Camel. Please ping me if you have any ideas like to share. I can help to set up a roundtable session like this in ApacheCon Asia 2021. Willem

Re: Converting ProcessorDefinition to DSL and interfacing with camel k

2020-05-26 Thread Willem Jiang
just use dumped camel route into XML and deploy it through Camel-K. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, May 27, 2020 at 9:20 AM Reji Mathews wrote: > > This might be a little wierd question. But, I was wondering if there is a > way to convert

Re: Custom RouteBuilder instance returned to camelContext.addRoutes() misses out on routeDefinitions

2020-01-09 Thread Willem Jiang
if you are adding the right RouteBuilder into a right CamelContext. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Thu, Jan 9, 2020 at 11:27 PM Reji Mathews wrote: > > Hello Camel community! > > Am currently using camel version 2.24.1. > > I have a code which star

Re: Camel always sending MQRFH2 headers to target WebsphereMQ queue

2019-10-18 Thread Willem Jiang
Which version of JDK are you using? >From the stack trace, it looks like you cannot cast the com.ibm.mq.jms.MQSession to com.ibm.mq.jms.MQQueueSession. I think you need to check the client code for more information. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Oct 18, 2019 at 11

Re: too many objects

2019-10-09 Thread Willem Jiang
For the first part of route, it should be fine to remove the streamCaching setting. For the second part I'm not sure if we need to enable streamCaching when message sending failed, maybe you can do a simple test for it. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Thu, Oct 10, 2019

Re: too many objects

2019-10-08 Thread Willem Jiang
/CachedOutputStream.java [2]https://camel.apache.org/manual/latest/stream-caching.html Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Mon, Oct 7, 2019 at 7:34 PM arshid wrote: > > > > Hi all, > > > > I am reading a csv file around 300 gb and then splitting it and parsing i

Re: SftpEndpoint + privateKey bytes[] + poolEnrich

2019-08-30 Thread Willem Jiang
How about using .pollEnrichRef(EndpointID, xxx) API. Using the getEndpointUri() is not handy, I prefer to the endpoint instance id from the application context. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Aug 30, 2019 at 4:43 AM Shultz, Dmitry wrote: > > Hi All, >

Re: [ANNOUNCEMENT] Brand new Apache Camel website

2019-08-20 Thread Willem Jiang
website incase the current new website link is broken. [1]https://camel.apache.org/swagger.html Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Tue, Aug 20, 2019 at 9:03 PM Zoran Regvart wrote: > > Hi Cameleers! > I'm delighted to announce that the new Apache Camel website is l

Re: Persistent MQTT Client Message Lost

2019-08-09 Thread Willem Jiang
to verify it. [1]https://github.com/apache/camel/blob/24521870b81576b5caf9ff3951cff8a0c2c77ab2/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/MQTTEndpoint.java#L256-L263 Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Thu, Aug 8, 2019 at 2:45 PM Michael Zaugg wrote: > &

Re: Persistent MQTT Client Message Lost

2019-08-07 Thread Willem Jiang
? Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Aug 7, 2019 at 10:56 PM Michael Zaugg wrote: > > We're having difficulties with persistent clients (using > cleanSession=false). We would like to get messages that were sent while > our client was disconnected. > > Steps

Re: Need camel jetty http2 support for server

2019-07-16 Thread Willem Jiang
components[1] which provides the http2 server side support, why do you still need to use jetty? [1]https://developers.redhat.com/blog/2017/12/12/using-camel-undertow-component-supporting-http2-connection/ Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Tue, Jul 16, 2019 at 12:43 PM Wang

Re: using camel as proxy to download wsdl file from remote webservice

2019-03-30 Thread Willem Jiang
Can you use sniffer tool to check http request? Maybe something is wrong with the http header. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Sat, Mar 30, 2019 at 6:04 PM Wang Yan wrote: > > i thought the same, i tried with camel-http , camel-http4, jetty, with > setting bridg

Re: using camel as proxy to download wsdl file from remote webservice

2019-03-30 Thread Willem Jiang
Hi, It looks like you just want to proxy the request? using camel-http component with bridgeEndpoint option is true should do the trick. Not sure if it relates to basic authentication on the remote host. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Sat, Mar 30, 2019 at 2:05 PM Wang

Re: Question about Camel Connector

2019-03-25 Thread Willem Jiang
As we are moving to the Camel 3.x, it is important for the user to know if they can still keep their investment of Camel Connector, or is there any replacement of Camel Connector. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Mar 15, 2019 at 10:02 AM Tadayoshi Sato wrote

Re: [Question] I cannot access Property value with camel

2019-03-25 Thread Willem Jiang
I just answer the question there. FYI, you can find how to use the camel properties component here[1] [1]https://github.com/apache/camel/blob/67b3fa5781dec77cb6d908730ef916782785214d/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc#examples-using-properties-component Willem

Re: I could not use .transacted() in camel route with SpringBoot, got exception

2019-03-07 Thread Willem Jiang
The transacted DSL is built on top of Spring PlatformTransactionManager. If you want to use the transacted with Spring Boot, you need to make sure you can get PlatformTransactionManager from the application context. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Mar 8, 2019 at 4:46

Question about Camel Connector

2019-03-06 Thread Willem Jiang
these connectors and remove them in Camel 3.x? Thanks, [1]https://issues.apache.org/jira/browse/CAMEL-10721 Willem Jiang Twitter: willemjiang Weibo: 姜宁willem

Re: Error building 3.0.0-SNAPSHOT

2019-02-22 Thread Willem Jiang
How did you download the source code? Did you check out the code from git repo? I just run the build by using latest master code, I cannot reproduce the error you faced. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Sat, Feb 23, 2019 at 9:49 AM Darius Cooper wrote: > >

Re: [DISCUSS] - Apache Camel 3 - A new tagline

2019-02-20 Thread Willem Jiang
+1 for "Integrate Everything!" it's simple and catchy. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Feb 20, 2019 at 8:41 PM Ashwin Karpe wrote: > > +1 for "Integrate Everything!" > > - Ashwin... > > > On Wed, Feb 20, 2019 at 6:32 AM

Re: Help Accessing Remote SOAP Service with Authentication via CXF

2019-01-10 Thread Willem Jiang
e instance of CxfEndpointConfigure into the CamelContext registry. [1]https://github.com/apache/camel/blob/master/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpointConfigurer.java Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Thu, Jan 10, 2019 at 5:38 AM Isaiah In

Re: Help Accessing Remote SOAP Service with Authentication via CXF

2019-01-08 Thread Willem Jiang
/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/wssecurity/camel/camel-context.xml Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Jan 9, 2019 at 5:59 AM Isaiah Inuwa wrote: > > Hello everyone, > > This is my first foray into Camel. I am looking into

Re: how to browse / search message in topic by consumertemplate

2018-11-14 Thread Willem Jiang
You cannot brower the message in a JMS topic[1]. [1]http://activemq.apache.org/can-you-browse-a-topic.html Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Nov 7, 2018 at 11:09 PM Wang Yan wrote: > > Hey All, > > I need to use consumertemplate to search message > &g

Re: soap inboud does not get soap outbound 's response

2018-11-01 Thread Willem Jiang
I think you can use the jetty or other component as a plain HTTP engine to send the response back. If you want CXF to do more work (such as provides WS-* work), you can setup the route like you did. I guess it may cause bay the message body is not set rightly for the CXF_MESSAGE. Willem Jiang

Re: camel soap endpoint only WSDL but without serviceClass, is it possible?

2018-11-01 Thread Willem Jiang
/resources/org/apache/camel/component/cxf/GreeterEndpointCxfMessageWithoutSEIBeans.xml Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Mon, Oct 22, 2018 at 10:00 PM Wang Yan wrote: > > camel soap endpoint only using wsdl , not using serviceClass , is it > possbile? > > priva

Re: is transaction (required) by default enabled for the route sending message from one jms endpoint to another endpoint

2018-11-01 Thread Willem Jiang
the transaction policy between the jms component. [1]https://github.com/apache/camel/blob/master/camel-core/src/main/docs/eips/transactional-client.adoc Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Sun, Oct 21, 2018 at 2:27 PM Wang Yan wrote: > > is transaction (required) by default e

Re: how to get operationName for Soap Message dataFormat=MESSAGE

2018-10-27 Thread Willem Jiang
The header is set once you set the defaultOperationName parameter, but it doesn't effect the cxf consumer or producer when the dataformate is MESSAGE. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Sat, Oct 27, 2018 at 2:03 PM Wang Yan wrote: > > Hey, > > I did change

Re: how to get operationName for Soap Message dataFormat=MESSAGE

2018-10-26 Thread Willem Jiang
Hi, When you use MESSAGE dataformat, camel-cxf component doesn't read the message, so it makes sense that you cannot operationName header. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Oct 26, 2018 at 4:07 PM Wang Yan wrote: > > when i use > from(SOAP_ENDPOI

Re: [HEADS UP] Camel K is here!

2018-10-17 Thread Willem Jiang
Yeah, it's great to see we can use Camel more easily with K8S. It's awesome that camel-k can be a part of Camel 3 :) Regards, Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Oct 17, 2018 at 6:24 AM Nicola Ferraro wrote: > > Hi folks, > after some months of brai

Re: Camel HeaderFilterStrategy Bean Registration in Spring

2018-07-19 Thread Willem Jiang
Hi, You don't need to add @Bean annotation on the applyFilterToCamelHeaders method, Just keep @Component there should be fine. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Thu, Jul 19, 2018 at 9:22 PM, Peck, Sean wrote: > I am having difficulty with Spring-Camel gett

Re: MailConsumer replacing identical filename attachments

2018-06-25 Thread Willem Jiang
] https://github.com/apache/camel/blob/5ebd2f11c25a36bb3ed6d6b556ae3bb96a23aa0a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java#L331 Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Jun 20, 2018 at 8:02 PM, Joery Vreijsen wrote: > Hi there! >

Re: camel route fails to AWS s3 with newer versions of java

2018-06-19 Thread Willem Jiang
I just went through the issue[1] of aws java sdk. Can you try to override the joda-time to 2.8.1 ? [1]https://github.com/aws/aws-sdk-java/issues/484 Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Jun 20, 2018 at 1:40 AM, Palmer, Eric wrote: > Hi, > > Using camel 2.21.1

Re: Camel 2.21.1 HttpComponent

2018-06-19 Thread Willem Jiang
You need to update the camel-core version at the same time :) Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Tue, Jun 19, 2018 at 9:44 PM, Binole, William J < william.j.bin...@questdiagnostics.com> wrote: > Willem thank you for your response. Yes, all the jars wer

Re: Camel 2.21.1 HttpComponent

2018-06-18 Thread Willem Jiang
-> 2.19.5. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Tue, Jun 19, 2018 at 5:24 AM, Binole, William J < william.j.bin...@questdiagnostics.com> wrote: > We recently upgraded our camel libs to the latest version (2.21.1) and > have found that we can no longer instantiat

Re: Type converter misbehavior with camel-cxf and camel-mail

2018-06-14 Thread Willem Jiang
plication to decide the order of the type converter. > But I'm not sure if it can work across all the deployment that camel > supports. > > any thought? > > > Willem Jiang > > Twitter: willemjiang > Weibo: 姜宁willem > > On Wed, Jun 13, 2018 at 3:25 AM, Bagwell, Allen F

Re: Type converter misbehavior with camel-cxf and camel-mail

2018-06-13 Thread Willem Jiang
converter. But I'm not sure if it can work across all the deployment that camel supports. any thought? Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Jun 13, 2018 at 3:25 AM, Bagwell, Allen F < afba...@sandia.gov.invalid> wrote: > I'm trying to integrate a CXF REST client into

Re: host not found when using http4 in docker container

2018-06-05 Thread Willem Jiang
Can you add a link to the camel container just like this ? camel: image: "camel:0.3.0-SNAPSHOT" hostname: camel links: - "otherHost" - "zipkin:zipkin.io" Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Wed, Jun 6, 2018 at 4:40 AM, Tim Dudgeon wrot

Re: Jackson vulnerabilities CVE-2017-17485 & CVE-2018-7489

2018-05-05 Thread Willem Jiang
Hi Grzegorz, Is there any updated for this issue? We may need a JIRA to track this kind of issue. Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Tue, Apr 17, 2018 at 3:04 PM, Grzegorz Grzybek

Re: Apache camel and IBM MQ

2018-05-05 Thread Willem Jiang
/sjms-component.adoc [3]http://camel.apache.org/pojo-consuming.html Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wed, Apr 11, 2018 at 10:18 AM, Pranay Tonpay <pton...@gmail.com> wrote: >

Re: mocking future routes

2018-04-24 Thread Willem Jiang
Hi, As the endpoint uri is string, you can change the prefix with some kind of profile. If you want to use it in the test, you can simply set the prefix to be "stub". In the production world, you can just set the prefix to be an empty string. Willem Jiang Blog: http://willemjiang.bl

Re: XML External Entity (XXE) - validator vulnerability ?

2018-04-14 Thread Willem Jiang
/master/CONTRIBUTING.md Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Sat, Apr 14, 2018 at 7:23 PM, Karel Jelínek <karel.jeli...@unicorn.com> wrote: > Dear All, > we are using XSD validati

Re: AWS_S3 consumer unable to delect object with another S3 producer

2018-01-02 Thread Willem Jiang
Hi, I don't see the aws-s3: prefix in you to endpoint. Can you double check it? Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wed, Jan 3, 2018 at 10:06 AM, Yi Yan <y...@talend.com> wrote:

Re: why need the jars but i don't use the component?

2017-03-24 Thread Willem Jiang
It looks like you don't put some third party jars in your class path which are used by the camel components. If you don't need those camel components, you don't need to include the components jars when you start up the camel context. Willem Jiang Blog: http://willemjiang.blogspot.com (English

Re: Netty Http4 (client): Null body whereas content-length > 0

2017-02-05 Thread Willem Jiang
Hi, I went through the whole thread, but didn't find out how the camel-netty4-http endpoint is used (from the camel route). I guess that something is still missing. Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Camel S3 Issue - Loop for ever

2016-12-04 Thread Willem Jiang
Hi, Which version of Camel are you using? There are some JIRAs[1][2] may relate to the problem. [1]https://issues.apache.org/jira/browse/CAMEL-8431 [2]https://issues.apache.org/jira/browse/CAMEL-9784 Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: problems when call Kafka api

2016-12-03 Thread Willem Jiang
Hi, I cannot see any wrong with route. You may need to check if the message body is right by using a TCP or HTTP proxy. It's helpful for us to find out which part is exactly wrong. Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: jms to kafka to jms

2016-11-15 Thread Willem Jiang
Hi, I'm not sure if it relates to the deserializerClass option setting of kafka consumer, as you didn't set the option on the kafka endpoint of the second. BTW, You can use the *jmsMessageType* option on the jms endpoint URL to force a specific message type for all messages. Willem Jiang

Re: Possible to use nested properties with both spring and camel property placeholders?

2016-11-03 Thread Willem Jiang
It looks like you are using the Spring and Camel Properties component together. Camel support the {{}} syntax out of box , so you just need to find a way to let the spring bean too support :)   -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: netty4(-http) producer workerGroup and producerPool

2016-11-03 Thread Willem Jiang
. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 3, 2016 at 12:55:34 PM, Pundir Avnish (avnish.pun...@tekmindz.com) wrote: > Hi Everyone, > I am trying to use netty4-http (in producer mode) to c

Re: http-conf:client not working

2016-10-16 Thread Willem Jiang
Hi helenlok,   CXF uses a bus to pick up the configuration from spring, if the camel-cxf endpoint doesn’t have the bus  you may have the trouble to set the client configuration from spring.  http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo:

Re: cxf-core 3.1.7 Validation issue with camel

2016-09-23 Thread Willem Jiang
You need to use the [1] instead of the generic camel endpoint to setup the schemaLocations for validation. http://camel.apache.org/cxf.html#CXF-ConfiguretheCXFendpointswithSpring  -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: rabbitmq component headers

2016-09-20 Thread Willem Jiang
You should add the exchangeName parameter to the rabbitmq uri if you don’t want to specify the message header there. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 21, 2016 at 5:14:54 AM

Re: rabbitmq component headers

2016-09-20 Thread Willem Jiang
Even you specify the routingKey in the rabbitmq uri, camel cannot find out the exchange name without checking it from message header. So you cannot comment out the exchange name setting part.  -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: cxf-core 3.1.7 Validation issue with camel

2016-09-20 Thread Willem Jiang
I think you you need to specify the schemaLocation from the spring configuration file to let the CXF Endpoint knows about. Please check the example here[1] [1]http://camel.apache.org/cxf.html#CXF-ConfiguretheCXFendpointswithSpring -- Willem Jiang Blog: http://willemjiang.blogspot.com

Re: cxf-core 3.1.7 Validation issue with camel

2016-09-19 Thread Willem Jiang
Can you show us the camel route? It looks like you are trying to send a XML message to the CXF server. We need to find out where the exception is thrown. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Camel Metrics

2016-09-18 Thread Willem Jiang
How about using the below code to look up the MetricsRegistry :) context.getRegistry().lookupByNameAndType(“metricRegistry”,  MetricRegistry.class); -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: How to launch

2016-09-18 Thread Willem Jiang
Hi,  If you just share one connection between the Scheduler Pooling consumers, it could be not effective, as the consumers have to be wait for the connection. I think it could be reasonable to use the a pool to hold the connections for the consumers to share with. -- Willem Jiang Blog

Re: [CAMEL-JETTY] How to manage filter-mapping?

2016-03-28 Thread Willem Jiang
I’m afraid you have to define the routes twice if you want to setup different filters according to the path. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 28, 2016 at 3:49:55 PM, Charlee

Re: [CAMEL-JETTY] How to manage filter-mapping?

2016-03-28 Thread Willem Jiang
The filter is applied according to the path of the endpoint, if you just want to apply the filter to the “/myweb/foo/*”, you need to setup the jetty endpoint like this  from(“jetty:http://0.0.0.0:8080/myweb/foo” + ...) -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http

Re: Camel kafka route - performance slowing down

2016-03-13 Thread Willem Jiang
Hi, It’s hard to tell what’s wrong from your information. Can you set up the trace log[1] to fine out which part is slow? [1]http://camel.apache.org/tracer.html -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁

Re: Http Connection Pooling in Camel

2016-03-13 Thread Willem Jiang
If you don’t setup the ConnectionManager on the Http4Component, Camel just create a new Connection which is based on the setting of maxTotalConnections and connectionsPerRoute. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter

Re: HL7/netty4/BodyType: io.netty.buffer.UnpooledUnsafeDirectByteBuf

2016-01-21 Thread Willem Jiang
It looks like netty handler just releases the UnpooledUnsafeDirectByteBuf automatically. Can you show us a simple test case of it? -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 20, 2016

Re: Automatically reading Cache-Control and other Header from the HTTP Component .

2016-01-21 Thread Willem Jiang
-sec4.html#sec4.5   [2]: https://github.com/apache/camel/blob/cc9924f41965885af25027fc053adaf21f15b5b4/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHeaderFilterStrategy.java -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.co

Re: HL7/netty4/BodyType: io.netty.buffer.UnpooledUnsafeDirectByteBuf

2016-01-20 Thread Willem Jiang
Can you just turn the message into String before logging it? It looks like the UnpooledUnsafeDirectByteBuf is consumed. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 19, 2016 at 11:54:39 PM

Re: Error Reading Files from four different Routes

2016-01-18 Thread Willem Jiang
  org.apache.camel.component.file.GenericFile.populateHeaders(Lorg/apache/camel/component/file/GenericFileMessage;)V+84 To Fix this issue, you may need to write your own FileTypeDetector[1]. [1]http://stackoverflow.com/questions/22679201/java-probecontenttype -- Willem Jiang Blog: http

Re: Exchange has SOAPMessage want to Send to JMS Topic

2016-01-17 Thread Willem Jiang
If you can treat the SOAPMessage as a stream, you can just redirect this stream to the JMS topic without doing anything more. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 15, 2016 at 2:54

Re: Issue with maximumPoolSize & Netty4-http component

2016-01-14 Thread Willem Jiang
Hi Charles, I just created a JIRA[1] for it and will back port the patch CAMEL-8031 to camel-netty4 shortly. [1]https://issues.apache.org/jira/browse/CAMEL-9514  -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜

Re: How to set SOAP Headers in SOAP Message - Camel blueprint

2016-01-13 Thread Willem Jiang
You need to setup the security provider just like this[1], but you need to use the namespace of the camelcxf instead. [1]http://cxf.apache.org/docs/ws-securitypolicy.html -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Issue with maximumPoolSize & Netty4-http component

2016-01-13 Thread Willem Jiang
Hi Charles, You should be able to setup the maximumPoolSize on the Netty4-http component level due to CAMEL-8031[1]. And the maximumPoolSize only works for consumer side. [1]https://issues.apache.org/jira/browse/CAMEL-8031 -- Willem Jiang Blog: http://willemjiang.blogspot.com (English

Re: camel-http-common 2.16.1 includes Servlet API 3.0

2016-01-13 Thread Willem Jiang
-- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 14, 2016 at 12:09:28 AM, nascha (nadia.schach...@avature.net) wrote: > This is very similar to issue CAMEL-8803 > which was about > camel-jet

Re: Is there an Apache Camel FTP server component available ?

2016-01-11 Thread Willem Jiang
No, we don’t have the Camel FTP server component. If you want to consume the file from the FTP server, you can just use camel ftp component directly. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Camel jetty filtersRef how to set init parameters for filter

2016-01-11 Thread Willem Jiang
I can reproduce the issue, so I just fill a JIRA[1] to add a new option of initParameters to the jetty endpoint uri. You can setup those parameters for your filter. [1]https://issues.apache.org/jira/browse/CAMEL-9501  -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http

Re: Camel Netty4 component tcp client reconnect limit

2016-01-10 Thread Willem Jiang
I just checked the code, camel just calls the openChannel method recursively until the connection is established when starting the NettyConsumer in client mode. It could be good idea to fail fast by throwing the exception out after a couple of retries. -- Willem Jiang Blog: http

Re: deadLetterHandleNewException(false) seems to not work as expected

2016-01-10 Thread Willem Jiang
Can you share your camel route with us? -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 8, 2016 at 11:54:55 PM, lchdev (lch...@outlook.be) wrote: > - Bump - > > Still having to wo

Re: Camel jetty filtersRef how to set init parameters for filter

2016-01-10 Thread Willem Jiang
As camel-jetty doesn’t leverage the web.xml to setup the filters, I don’t think there is a blocker when calling the filter init method yourself.  When you setup the filters instance to the Camel registry, you can call the filter init method to pass the parameters yourself. -- Willem Jiang

Re: camel-netty: How to set the netty closeChannelTimeMillis option?

2015-10-11 Thread Willem Jiang
It looks like you need to setup the sync option to be true when wiretapping the message.  -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 8, 2015 at 12:52:20 PM, SteveR (srichard

Re: Consume all files in aws S3 where deleteAfterRead = false

2015-10-07 Thread Willem Jiang
Hi, I just went through the Java Doc of the ListObjectsRequest, there are some misunderstanding of the setMarker and getMarker method. I will commit a quick fix for it shortly. At the mean time I just reopen the JIRA[1] [1]https://issues.apache.org/jira/browse/CAMEL-8431   -- Willem Jiang

Re: camel-netty: How to set the netty closeChannelTimeMillis option?

2015-10-07 Thread Willem Jiang
/master/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java#L571 -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 6, 2015 at 11:44:34 PM, SteveR (srichard

Re: rabbitMQ message forwarding from one queue to another

2015-09-21 Thread Willem Jiang
72/inbox?username=guestpassword=guest" />                                         -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 18, 2015 at 7:20:54 PM, prajath (prajig...@gmail.com)

Re: camel:netty udpConnectionlessSending option and "Too many open files"

2015-09-14 Thread Willem Jiang
How did you use the camel:netty component? Camel always try to reuse the cached channel object if it is possible, can you share some detail of your camel route. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁

Re: Programmatic CXF Endpoint

2015-08-03 Thread Willem Jiang
Camel SSL setting. I just fill a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-9046 -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On August 2, 2015 at 4:46:43 PM, sloanecourt

Re: Camel 2.14/Netty: How to add ByteArrayDecoder to ServerChannelPipeline?

2015-07-09 Thread Willem Jiang
There are quit different change between the Netty3.x and Netty4.x. That is why we create a new camel component camel-netty4[1] for it. So I think you can just need to change the camel-netty to camel-netty4 and use the scheme netty4 in your camel route. -- Willem Jiang Red Hat, Inc. Web: http

Re: Auto-commit and camel-kafka

2015-07-05 Thread Willem Jiang
Hi Michael, I think we don’t take the consideration of committing the offset during the shutdown processing. Please feel free to create a JIRA[1] and send out a patch of it. [1]https://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Blog: http://willemjiang.blogspot.com (English

Re: Getting Cannot determine current route from Exchange with id message

2015-06-16 Thread Willem Jiang
Can you show us the camel route that you have? What kind of error that target endpoint get? -- 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 June 15, 2015 at 4

Re: Remove breadcrumbId from Rest Service Response Headers

2015-06-15 Thread Willem Jiang
Current camel-http component just copy the in message header to the out message header, so it can explain that why you get the Exchange.BREADCRUMB_ID from the out message. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: Camel quartz memory leak

2015-06-15 Thread Willem Jiang
When you stop the route, the schedule won’t be shutdown. But if you stop the camel context, the schedule will be shutdown if there is no CamelJob there. Are there more than one camel-quartz endpoints in your camel route? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: s3 query

2015-06-15 Thread Willem Jiang
I’m not quit sure about the meaning of dynamic consumer. You can setup the CamelAwsS3Key header to the S3Producer, but you cannot setup the header in the S3Consumer side. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http

Re: HttpProducer to ignore response body avoiding stream caching

2015-06-15 Thread Willem Jiang
I just create a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-8876 -- 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 June 16, 2015 at 12:04:07

Re: CXF Proxy : Body empty when client side of the proxy do not respond after 30s

2015-06-10 Thread Willem Jiang
How did you apply the setting of http-conduit? -- 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 June 10, 2015 at 3:00:16 PM, JOSSE Bertrand (bertrand.josse

Re: https4 2.15.2 not recognizing my httpClientConfigurer endpoint option

2015-06-09 Thread Willem Jiang
I just checked the code of your HttpClientconfigurer, you didn’t set the httpClientBuilder with the SSLConnectionSocketFactory instance that you just created. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: Failed to load type converters because of: Cannot find any type converter classes org.apache.camel.component.jetty.JettyConverter

2015-06-02 Thread Willem Jiang
You need to put the camel-jetty-common jar in your war as well. 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 Wed, Jun 3, 2015 at 11:27 AM, cloud cl

Re: No component found with scheme: jetty in Intellij IDEA

2015-06-02 Thread Willem Jiang
It’s a common issue of Camel, you need to make sure the camel-jetty or camel-jetty{8|9}(if you uses Camel 2.15.x)  is in your class path from IDEA. Reimport the project from the pom module could help you with that.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Apache Camel 2.14.3 Released

2015-06-01 Thread Willem Jiang
=12329561styleName=projectId=12311211 On behalf of the Camel Team,  --  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: Rest DSL with jetty and SSL

2015-05-30 Thread Willem Jiang
, otherwise you need to chose “JettyHttpComponent8”. -- 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 28, 2015 at 4:48:31 AM, btt423 (bta

Re: Discard Obsolete Messages After Redelivery

2015-05-26 Thread Willem Jiang
Hi, I think you can consider to write a filter which just tracks the last timestamp (you may need a lock when changing the timestamp). -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Content Based Router : Java DSL is not working

2015-05-26 Thread Willem Jiang
It looks like your Predicate is a static now, which cannot take the message header as parameter. Please take a look at the Bean Language[1], it shows you how to write a right one. [1]http://camel.apache.org/bean-language.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog

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

2015-05-26 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: Discard Obsolete Messages After Redelivery

2015-05-26 Thread Willem Jiang
I’m afraid you have to implement your version of IdempotentRepository, as the requirement is quite different. -- 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 Srevice exposed over https not working

2015-05-26 Thread Willem Jiang
You may need to check your firewall setting and enable the SSL debug could help you to trace the reason of lost the 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

Re: Using shared Netty configuration with Rest DSL

2015-05-22 Thread Willem Jiang
=“#securityConfiguration/  /restConfiguration  BTW, you need to create the securityConfiguration yourself. -- 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 22

  1   2   3   4   5   6   7   8   9   10   >