Re: Not display message in active mq

2013-11-10 Thread Willem jiang
How did you send the message to ActiveMQ? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: RabbitMQ producer routing key only as an Exchange header?

2013-11-10 Thread Willem jiang
Hi, I just created a JIRA[1] of it, we should let user set the default routing key on the producer. [1]https://issues.apache.org/jira/browse/CAMEL-6952 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com

Re: Jetty proxy Rest service fails for file uploading

2013-11-08 Thread Willem jiang
It’s hard to tell the cause of IndexOutOfBoundsException. (https://issues.apache.org/jira/browse/CAMEL-6943)What’s your quest message look like? Did you just submit POST request with a Form to the Proxy? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Camel RabbitMQ component - Increasing File Descriptors

2013-11-07 Thread Willem jiang
we can have caching for connection in the producer. Can I create a JIRA for this? With regards, Mayank On Thursday 07 November 2013 01:05 PM, Willem jiang wrote: I just checked the code of RabbitMQProducer, it create new connection and channel when creating the producer. I think

Re: Dataformat Conversion

2013-11-07 Thread Willem jiang
You can use camel to do that. So what’s your problem? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜

Re: Jetty proxy Rest service fails for file uploading

2013-11-07 Thread Willem jiang
}}/?matchOnUriPrefix=trueenableMultipartFilter=false;) .to(jetty:http://{{real-server-address}}:{{real-ws-port}}/?bridgeEndpoint=truethrowExceptionOnFailure=false;) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com

Re: Jetty proxy Rest service fails for file uploading

2013-11-07 Thread Willem jiang
}}/?bridgeEndpoint=truethrowExceptionOnFailure=false;) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: onException convertions to soapFault

2013-11-07 Thread Willem jiang
); exchange.getOut().setFault(true); } }) .end(); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem Sent

Re: Jetty proxy Rest service fails for file uploading

2013-11-07 Thread Willem jiang
Can you show me the whole stack trance? It could be helpful if you can catch the HTTP Request and Response without using the proxy. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http

Re: Best way to consume from seda by java

2013-11-06 Thread Willem jiang
Here is an example[1] for it. [1]http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http

Re: Transacted routes without using spring route builder?

2013-11-06 Thread Willem jiang
Hi, Camel transaction support is based on Spring transaction framework, even you are tend to use Java DSL. We could let the Spring to load the Camel route which you defined in Java just like this[1] [1]http://camel.apache.org/spring.html#Spring-UsingJavaCode -- Willem Jiang Red Hat, Inc

Re: Basic Apache-Camel LoadBalancer-Failover Example

2013-11-06 Thread Willem jiang
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Thursday, November 7, 2013 at 7:37 AM

Re: Gave up waiting for service dependencies during CamelBlueprintTestSupport test of custom camel component

2013-11-06 Thread Willem jiang
As camel-blueprint-test loads the bundle from class path to simulate the OSGi platform behaviour. If you want to CamelBlueprintTestSupport find your custom component, you need to add the dependencies of the customer component in your pom. -- Willem Jiang Red Hat, Inc. Web: http

Re: How to keep route running on camel with JavaDSL?

2013-11-06 Thread Willem jiang
. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wednesday, November 6, 2013 at 11:50 PM

Re: how to use the org.apache.camel.component.properties.PropertiesComponent

2013-11-06 Thread Willem jiang
I’m not sure how do you use the username or password. Can you show me an example of username configuration? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http

Re: Camel RabbitMQ component - Increasing File Descriptors

2013-11-06 Thread Willem jiang
”, “direct:queue2” -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Thursday, November 7, 2013 at 2

Re: how to use the org.apache.camel.component.properties.PropertiesComponent

2013-11-06 Thread Willem jiang
The userName and password are charged by Spring. You can use BridgePropertyPlaceholderConfigurer[1] to bridge the properties between Spring and Camel. [1]http://camel.apache.org/properties.html#Properties-BridgingSpringandCamelpropertyplaceholders -- Willem Jiang Red Hat, Inc. Web: http

Re: cxf bus

2013-11-05 Thread Willem jiang
?dataFormat=MESSAGE; / /camel:route /camel:camelContext -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁

Re: How to keep route running on camel with JavaDSL?

2013-11-05 Thread Willem jiang
When you start the camel route in the main, you need to add a sleep to block the main thread from exit. BTW, you can use other tools that camel provides to running the camel route as Claus just showed you. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: cxf bus

2013-11-04 Thread Willem jiang
Hi, Which version of Camel are you using? If you don’t specify the bus option, camel-cxf will create a new bus per endpoint, if you stop the route1, it should not affect the route2. Can you show me the Spring configuration file that you were using? -- Willem Jiang Red Hat, Inc. Web: http

Re: how to check whether a routing of one message finished

2013-11-03 Thread Willem jiang
How about to try the onCompletion DSL ? [1]http://camel.apache.org/oncompletion.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese

Re: Load balancing using Mina example with Java DSL

2013-11-03 Thread Willem jiang
Hi, The magic is happened in the camel-context-loadbalancer.xml. The client is not tcp client, it is just a camel client which can send the request to direct:loadbalance endpoint. If you want to add third mina endpoint, you can modify the file of camel-context-loadbalancer.xml. -- Willem

Re: cxf bus

2013-11-03 Thread Willem jiang
What’s your camel route looks like? You may need to specify another CXF bus for other camel-cxf route to use. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http

Re: Migrate Apache Camel Endpoints

2013-11-01 Thread Willem Jiang
Camel doesn't provide any JMS broker, if you use the camel-jms component, you need to setup a JMS broker (server) to let camel-jms connect. Fuse provides the HA and Failover feature which camel doesn't provide. Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http

Re: Migrate Apache Camel Endpoints

2013-11-01 Thread Willem Jiang
First, camel-jms component works as a JMS client not the JMS Broker implementation. Camel LoadBalancer provide a failover feature , but it doesn’t support master/salver feature out of box. Willem Jiang Red Hat, Inc. Web: http://www.fusesource.com | http://www.redhat.com Blog: http

Re: Component Resolution, Camel/SMX Race Condition?

2013-10-30 Thread Willem jiang
As the cxfbeanReference wasn’t used by Camel as an OSGi service, so you setting cannot block the loading of the CamelContext. How about adding the Required-Bundle of camel-cxf in your application bundle? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: how to test the restlet service without startup web containner manually

2013-10-29 Thread Willem jiang
Hi, How about use HttpUnit[1] to start a web container and using Spring to load the camel context? [1]http://httpunit.sourceforge.net/ -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English

Re: HTTP Basic Authentication

2013-10-29 Thread Willem jiang
if the authPassword setting, It should be a plaint text. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁

Re: HTTP Basic Authentication

2013-10-29 Thread Willem jiang
;); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Tuesday, October 29, 2013 at 5:13 PM, Willem

Re: HTTP Basic Authentication

2013-10-29 Thread Willem jiang
One thing should be point out, CXF uses Http URL Connector which is from JDK by default. If you are using CXF 2.7.x and enable the async http client setting, it will use the Apache Http Client 4.x to send the request. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Request-Reply a second route

2013-10-29 Thread Willem jiang
I think it is depends how your route consume the message from the iccs.request queue. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese

Re: any way to turn off a timer?

2013-10-28 Thread Willem jiang
I think the best way to turn off the timer is to stop the timer route. As you just send the message to sera queue so the timer route is decoupled with the seda consumer route. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: SAXParseException due to invalid characters in cxf endpoint response

2013-10-28 Thread Willem jiang
It is hard the get to know the key of issue without knowing the route. Can I know if your other environment server default encoding is UTF_8? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English

Re: a question on servlet component

2013-10-28 Thread Willem jiang
headerName=Content-Type” constanttext/html/constant setOutHeader -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter

Re: endChoice() in Camel Scala DSL

2013-10-23 Thread Willem jiang
Hi As Scala supports to passing a block, you don't need to use endChoice() or end() to close the choice() Here is an example for it choice { when(simple(${body} == 'foo')) to mock:foo otherwise to mock:other } to(mock:end) -- Willem Jiang On Wednesday, October 23, 2013 at 11:46 PM

Re: Testing DSL based on Apache Camel

2013-10-22 Thread Willem jiang
I think you could add the DSL support for the soap fault message, or some validation of the response code which can tell the difference between the right response or the fault message. Just my 2 cents. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: i am getting exception org.apache.cxf.interceptor.Fault: org/apache/camel/CamelContext

2013-10-22 Thread Willem jiang
Can I have a look at your camel route? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Writing a Component - passing in arguments

2013-10-20 Thread Willem jiang
Camel support to look up the Object instance reference form the registry (Spring ApplicationContext). Camel URI support to set the parameter with the instance refrence like this “#referenceName”. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Display only the last message into the browser

2013-10-20 Thread Willem jiang
In most case the queue is serving as first in and first out, if you just want to display the last message, you may need to use aggregator[1] to find the last one. [1]http://camel.apache.org/aggregator2.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: Migrate Apache Camel Endpoints

2013-10-20 Thread Willem jiang
The Migrating Endpoints is not what you want. You may consider to use Camel Fabric[1][2] to that kind of work. [1]http://fuse.fusesource.org/fabric/docs/overview.html#Camel_Fabric [2]http://fusesource.com/docs/esbent/7.0/camel_comp_ref/Master.html -- Willem Jiang Red Hat, Inc. Web: http

Re: CamelBlueprintTestSupport Issues

2013-10-08 Thread Willem jiang
Hi Andre, I dug the code few hours ago, I think we should provide a option to include the test bundle or not. Here is the JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-6835 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: return binary image data in camel/restlet environment

2013-10-08 Thread Willem jiang
You can check the commit log from the JIRA[1] and apply the path yourself if you don't want to wait for the another round of Camel release. [1]https://issues.apache.org/jira/browse/CAMEL-6834 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: setHeader(FOO, xpath(/foo/bar/@value)) is of type net.sf.saxon.dom.DOMNodeList - not String, ideas?

2013-10-08 Thread Willem jiang
Hi, I just Filled a JIRA[1] for it and the patch is on the way. [1]https://issues.apache.org/jira/browse/CAMEL-6841 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com

Re: CamelBlueprintTestSupport Issues

2013-10-07 Thread Willem jiang
Hi, CamelBlueprintHelper just creates one test bundle and it will look up the bundles in the class path to install them. I suggest you to massage your class path to exclude the test classes bundle or you just put the test into your test classes bundle. -- Willem Jiang Red Hat, Inc. Web

Re: two camel instances and jms failover on a topic

2013-10-07 Thread Willem jiang
Please don't send the question across the mailing list. Here is the the answer[1] to activemq user mailing list. [1]http://activemq.2283324.n4.nabble.com/How-to-implement-two-consumers-on-a-topic-Camel-One-of-consumers-is-inactive-until-the-active-one-fa-td4672355.html -- Willem Jiang Red

Re: return binary image data in camel/restlet environment

2013-10-07 Thread Willem jiang
the message body into an InputStream and set Content-Type on the message header. [1]http://stackoverflow.com/questions/1509873/serve-dynamic-generated-images-using-restlet [2]https://issues.apache.org/jira/browse/CAMEL-6834 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: CAMEL + CXF+ ACTIVE MQ

2013-09-28 Thread Willem Jiang
Camel jms endpoint supports request/response model. You don't need to another endpoint for sending response. 发自我的 iPhone 在 2013年9月27日,上午5:20,pannereselvam panneer.prak...@gmail.com 写道: Hi, I have to perform all these (camel, cxf and active mq) in Fuse 7.1.0 Requirement: Retrive Customer

Re: CamelTestSupport Needs a New Method

2013-09-27 Thread Willem jiang
Yeah, it's a good suggestion. Please feel free to fill a JIRA[1] for it :) [1]http://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http

Re: ASP.Net SOAP Request ActiveMQ CAMEL ASP.Net SOAP WS

2013-09-24 Thread Willem jiang
Hi, I think you can take a look at the cxf-example[1] which has JMS to HTTP transport route to solve the problem that you have. [1]http://camel.apache.org/cxf-example.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: org.apache.cxf.binding.soap.SoapFault: Can't find the BindingOperationInfo with operation name

2013-09-23 Thread Willem jiang
Hi You can set the operation on the message header just like this from(cxf:xxx).setHeader(CxfConstants.OPERATION_NAME, GREET_ME_OPERATION).to(cxf:xxx); Please go through the wiki page[1] for more information. [1]http://camel.apache.org/cxf.html -- Willem Jiang Red Hat, Inc. Web: http

Re: org.apache.cxf.binding.soap.SoapFault: Can't find the BindingOperationInfo with operation name

2013-09-23 Thread Willem jiang
you can set the header value the constance just like this camel:setHeader headerName=operationName camel:constantauthenticateMember/camel:constant -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English

Re: Getting error while marshalling: class org.apache.cxf.message.MessageContentsList nor any of its super class is known to this context.

2013-09-23 Thread Willem jiang
().setBody(request); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Monday, September 23

Re: org.apache.cxf.binding.soap.SoapFault: Can't find the BindingOperationInfo with operation name

2013-09-21 Thread Willem jiang
I think you need to reset the operation name header with the back end service can used. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com

Re: Scala DSL missing setProperty?

2013-09-21 Thread Willem jiang
Scala DSL is missing that part. I just fill a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-6776 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http

Re: org.apache.cxf.binding.soap.SoapFault: Can't find the BindingOperationInfo with operation name

2013-09-18 Thread Willem jiang
You don't need to specify the SAAJOutInterceptor and SAAJInInterceptor in your cxf endpoint if you are using CXF_MESSAGE data formate. camel-cxf already sets the saaj interceptor for you. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: Camel V2.12 HttpConnectionParams

2013-09-17 Thread Willem jiang
httpConnectionManager.defaultMaxConnectionsPerHost=1 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: FileConsumer in a route is not stopped when the route is stopped

2013-09-17 Thread Willem jiang
Which version of Camel were you using? How did stop the route? If you stop the route, the FileConsumer should be stopped at the same time. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English

Re: My camel route not able to handle exception.

2013-09-16 Thread Willem jiang
As you are using text message , I don't think it's not an issue of stream cache. Maybe you need to check if there is something wrong when persisting the message into the DB. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: JAXB partial unmarshalling

2013-09-16 Thread Willem jiang
The Partial unmarshalling just works for the element start with MobilePhone. You have to skip the Result part yourself. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com

Re: Deployment of Akka Camel CXF Osgi sample in Apache Karaf container

2013-09-15 Thread Willem jiang
You can use the features:install camel-cxf to install the camel-cxf component :) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese

Re: My camel route not able to handle exception.

2013-09-15 Thread Willem jiang
Hi, I just want to ask if your RAW message is stream based. From your description I double the raw message was just consumed when it was stored into DB. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com

Apache Camel 2.12.0 released

2013-09-09 Thread Willem jiang
to the Camel community for making this release possible. [1] http://camel.apache.org/ [2] http://camel.apache.org/enterprise-integration-patterns.html [3] http://camel.apache.org/download.html [4] http://camel.apache.org/camel-2120-release.html -- Willem Jiang Red Hat, Inc. Web: http

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread Willem jiang
, getSimpleServerAddress()); exchange.getIn().setBody(params); exchange.getIn().setHeader(Client.REQUEST_CONTEXT , requestContext); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http

Re: Error _in_adding_active mq dependencies

2013-09-05 Thread Willem Jiang
Hi, Did you put the Fuse maven repo into your pom? As you know, we don't publish the fuse artifact into the public maven repo. So you can not access the fuse jar from the maven public repo Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http

Re: HTTP endpoint

2013-09-04 Thread Willem Jiang
If you want to set the query parameters, you need to set the header before sending the request. the HTTP method should be POST instead of GET, as you are send the data mbl-stmt=(synloader(bounding-box 90 -180 -90180)(products(SYN))). Willem Jiang Red Hat, Inc. FuseSource is now part of Red

Re: Problem with FailOverLoadBalancer

2013-09-04 Thread Willem Jiang
Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-04 Thread Willem Jiang
Hi, Do you always enable to camel tracing in your production environment? SaxParseException: Premature end of file. It looks like a stream consuming issue. We need to know if the message is consumed before routing the splitter for processing. Willem Jiang Red Hat, Inc. FuseSource is now

Re: camel-context only seems to work within the same file or do I use it wrong?

2013-09-02 Thread Willem jiang
Oh, you are using Blueprint. Current Blueprint doesn't support to import the resource like the Spring does. You may need to consider export the camel-conetxt as a service and import this service in another blueprint. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: The Message header with the name of CxfConstants.OPERATION_NAME

2013-09-02 Thread Willem jiang
CXF client is using the operation qName to look up the request method. As you specify another targetNamespace which we cannot tell from the SEI package name, you need to specify the header of CxfConstants.OPERATION_NAMESPACE at the same time. -- Willem Jiang Red Hat, Inc. Web: http

Re: camel-context only seems to work within the same file or do I use it wrong?

2013-09-01 Thread Willem jiang
Hi, How did you define the whitebox.xml? You can using the import resource to include the camel context that you want to use just like this. import resource=classpath:META-INF/camel-routes.xml/ -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: The Message header with the name of CxfConstants.OPERATION_NAME

2013-09-01 Thread Willem jiang
The operation name is the method name you want to invoke. Invoke and InvokeOneWay are the SEI method name you want to use. As camel-cxf is using CXF client to send the request, so we don't use the proxy method directly to send the invocation. -- Willem Jiang Red Hat, Inc. Web: http

Re: CXF Component

2013-08-29 Thread Willem jiang
When you using the MESSAGE data format, you can consume and produce message body as a stream. Please go through the camel-cxf wiki page[1] for more information. [1]http://camel.apache.org/cxf.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http

Re: use camel proxy webservice

2013-08-28 Thread Willem jiang
Hi, You are using the camel-http component to send the request to the back end service. That is reason that Camel tries to turn the RealType into a stream. You may need to use the camel-cxf component to send the request if you want to use the RealType object directly. -- Willem Jiang Red

Re: How to pass a bounded Java threadpool as the aggregateExecutorService in MulticastProcessor?

2013-08-28 Thread Willem jiang
Please take a look at this page[1], you can get every thing you need :) [1]http://camel.apache.org/threading-model.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com

Re: Issue when using ZipSplitter and sending entries to a file endpoint

2013-08-28 Thread Willem jiang
It looks like a bug of camel. Can you fill a JIRA and submit a simple test case to show the error? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http

Re: Camel RabbitMQ from 2.12 snapshot - missing parameter type:direct

2013-08-27 Thread Willem jiang
the configuration of endpoint hannel.queueDeclare(endpoint.getQueue(), true, false, false, null); That is reason which causes the channel was closed. I just updated the code, and push it into git central repo, please check it out to verify the fix. -- Willem Jiang Red Hat, Inc. Web: http

Re: Two camel context

2013-08-26 Thread Willem jiang
Hi, I think you may consider Zookeeper enabled route policy[1]. [1]http://camel.apache.org/zookeeper.html#Zookeeper-ZooKeeperenabledRoutepolicy. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English

Re: Using SSL Certificates and connecting to https:// port -Truststore files provided

2013-08-26 Thread Willem jiang
#ClientHTTPTransport%28includingSSLsupport%29-ConfiguringSSLSupport -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo

Re: Connecting remotely via JMX

2013-08-22 Thread Willem jiang
What's the error did you get? BTW, which version of JDK were you using? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter

Re: Solace Integration with Camel

2013-08-20 Thread Willem jiang
Hi, I think you can write a component[1] to do this kind of job. [1]http://camel.apache.org/component.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http

Re: Mina Synchronous Communication

2013-08-20 Thread Willem jiang
From the stack trace, it looks like the decoder cannot interpret the data length rightly. Can you double check it with your application? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http

Re: Spring Bean represented as endpoint

2013-08-20 Thread Willem jiang
I think you need to setup the CamelContext on the appWebSocket bean. BTW, what's the exception that you get when using the appWebSocket. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http

Re: Issues with Camel startup...

2013-08-20 Thread Willem jiang
Did you try to use JConsole to look up the status of camel routes[1]? From your description I double if the camel-jms can access the JMS broker rightly. [1]http://camel.apache.org/camel-jmx.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: reading integer values from properties file

2013-08-20 Thread Willem jiang
Can you try it with the latest Camel? As you know you don't provide community support for very old version of Camel. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com

Re: Java DSL / GroovyExpression / Binding

2013-08-19 Thread Willem jiang
Hi, You don't need to copy the class, you can just override the evaluate method to setup the binding as you want. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com

Re: When to use AWS SQS?

2013-08-19 Thread Willem jiang
take care of the physical machine, Broker, or DB, you just need to use SQS API to access the service that you want. And AWS SQS will solve the HA, scalability issue for you. [1]http://stackoverflow.com/questions/16820336/what-is-saas-paas-and-iaas-with-examples -- Willem Jiang Red Hat, Inc

Re: Camel Conduit and Camel Jetty components

2013-08-18 Thread Willem jiang
You can do some configuration on the cxf conduit[1] and jetty engine[2] for the SSL security. [1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html [2]http://cxf.apache.org/docs/jetty-configuration.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red

Re: The jar package dependency problem

2013-08-18 Thread Willem jiang
How did you deploy the camel into the OSGi platform? What's the issue that you ran into? I didn't quite understand you question. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: How to make Spring XML routing to be automatically reloaded

2013-08-18 Thread Willem jiang
I think you can reload the routing.xml just like this[1] [1]http://forum.springsource.org/archive/index.php/t-55148.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: how do i parse a DSL

2013-08-18 Thread Willem jiang
Please check out this link[1] for more information. [1]http://camel.apache.org/loading-routes-from-xml-files.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http

Re: Conditional routing and local variables

2013-08-18 Thread Willem jiang
want. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Monday, August 19, 2013 at 10:00

Re: Camel RSS component can't be used as Producer Endpoint

2013-08-14 Thread Willem jiang
Hi, You can use the consumer.delay, consumer.userFixedDelay to camel pull the RSS feed periodically. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com

Re: Camel RSS component can't be used as Producer Endpoint

2013-08-14 Thread Willem jiang
Did you have chance to check out the link of pulling consumer[1]? you can pull the feed with ConsumerTemplate. [1]http://camel.apache.org/polling-consumer.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http

Re: Reading and marshalling messages from IBM MQ / Bindy

2013-08-14 Thread Willem jiang
Hi, If you just want to validate the transformed message in unit test, you can replace the endpoint of IBM MQ with the mock endpoint. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http

Re: JDBC Connection Setup

2013-08-11 Thread Willem jiang
If you are using Spring, you can define a data source connection within Spring configuration, and use it directly with the url jdbc:SOURCE_NAME. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http

Re: ServiceMix and Camel how to realize the process can be configured

2013-08-11 Thread Willem jiang
. As Camel is EIP implementation, ServiceMix is container, you can deploy the camel route into Servicemix without any trouble. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: camel-rabbitmq producer is not including the body

2013-08-07 Thread Willem jiang
Hi, Thanks for reporting it. I just filled a JIRA[1] and committed a fix for it. [1]https://issues.apache.org/jira/browse/CAMEL-6617 -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Question about ZooKeeper APIs

2013-08-07 Thread Willem jiang
Hi, Did you have a chance to check out the Camel-ZooKeeper document[1]? [1]http://camel.apache.org/zookeeper.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: Multicast with two endpoints when request to the second depends on the response from the first one

2013-08-06 Thread Willem jiang
Hi I think you can just define the route like this. from(xxx) .to(ENDPOINT1) .process(prepare request) .to(ENDPOINT2) -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: Always got IndexOutOfBoundsException when customized id of wireTap component

2013-08-06 Thread Willem jiang
It's a bug of Camel. I can reproduce the error in the camel trunk and will dig it later today. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com

<    3   4   5   6   7   8   9   10   11   12   >