Re: camel-cxf - relative path for webService resource

2011-02-22 Thread Willem Jiang
Hi Charles, You can use the CXF osgi http transport to do this here is the example http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:cxf="http://camel.apache.org/schema/cxf"; xsi:schemaLocation=" http://www.springfra

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
Hello. My route is : when I stop the webservice , the message should return the queue1. and It realized with no-jta transaction (no jndi) as follows:

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Claus Ibsen
Hi A good idea is to build a simple test without Camel to see where the issue could be. the camel-jms component uses Spring JMS, so you can google for many examples how to use Spring JMS in JBoss with TX. And what does the userTransactionName do for you? On Tue, Feb 22, 2011 at 10:19 AM, Bill

camel-cxf - relative path for webService resource

2011-02-22 Thread Charles Moulliard
Hi, Is there a way to configure the camel-cxf component to register the path for the WebService (= wsdl) under an existing instance of a Web Application Server instead of creating a Jetty Server with the URL address defined in the WORK http://localhost:9090/pates/services/getAlias";

RE: Producer Template and number of ActiveMQ Producers.

2011-02-22 Thread Taariq Levack
Hi This is in the FAQ[1] In the first case the route is setup once and the template is created once. How is @Produce used? If it's in a singleton it will also only be injected once, but I assume it's in a bean invocation. [1] Apache Camel: Why does Camel use too many threads with ProducerTempla

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Willem Jiang
On 2/23/11 10:20 AM, Bill wrote: Hi, I mean not working is not return to Queue. Can I have a look at your cxfEndpoint configuration ? It looks like the CXF client can not send the request to the server. Can you make sure the web services server is working ? -- Willem

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
Hi, I mean not working is not return to Queue. -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Transaction-in-jboss-camel-is-not-work-tp3395258p3396478.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Willem Jiang
Hi It looks like the Transaction is rollback as you want, I'm not sure why you say it is not working. On 2/23/11 9:06 AM, Bill wrote: 08:46:12,355 INFO [STDOUT] [aultMessageListenerContainer-1] TransactionErrorHandlerWARN Transaction rollback (0xa0faf9) for ExchangeId: ID:414d512051

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
And the error msg: 08:46:12,291 INFO [STDOUT] [aultMessageListenerContainer-1] PhaseInterceptorChain WARN Interceptor for {http://ws.intergation.camel.toxind.deppon.com/}OrderWayBillService#{http://ws.intergation.camel.toxind.deppon.com/}addOrder has thrown exception, unwinding now org.

Producer Template and number of ActiveMQ Producers.

2011-02-22 Thread Ioannis Canellos
I am building an application that uses camel and activemq. Some of my routes are defined using spring and I also make uses of the @Produce annotations. I notice that on the when I add messages on an activemq queue using the "to" element a single producer is created on activemq. When I add messages

Re: Support for StreamMessage

2011-02-22 Thread Patrick Vanbrabant
That is what I was hoping for. Let me try it. Many thanks Patrick Vanbrabant -- View this message in context: http://camel.465427.n5.nabble.com/Support-for-StreamMessage-tp3394644p3395616.html Sent from the Camel - Users mailing list archive at Nabble.com.

URL double-encoding in http component

2011-02-22 Thread beat glattfelder
I have previously posted this to the dev-list, but it probably should rather go here. In camel 2.6.0, I am using the http component to query an XML base Web API. The query string contains a comma separated list. When the query string is sent to the server, the commas have been encoded twice, i ha

JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
Hi,all I integerated IBM MQ with camel in jboss. (using jndi) jms/QueueConnectionFactory java:/Trans