[jira] Created: (CAMEL-2717) RoutingSlip should trim the endpoint URI

2010-05-12 Thread Willem Jiang (JIRA)
RoutingSlip should trim the endpoint URI - Key: CAMEL-2717 URL: https://issues.apache.org/activemq/browse/CAMEL-2717 Project: Apache Camel Issue Type: Improvement Reporter: Willem Jiang

[jira] Assigned: (CAMEL-2714) Create a converter to convert a CxfPayload to a String

2010-05-12 Thread Willem Jiang (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang reassigned CAMEL-2714: --- Assignee: Willem Jiang > Create a converter to convert a CxfPayload to a String > ---

[jira] Commented: (CAMEL-2706) option to exec component to not use stderr when stdout is empty

2010-05-12 Thread Chuck Adams (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59322#action_59322 ] Chuck Adams commented on CAMEL-2706: useStderrOnEmptyStdout perhaps? A bit wordy, but de

[jira] Commented: (CAMEL-2716) Incomplete cleanup of jmx mbeans after context stop

2010-05-12 Thread Hadrian Zbarcea (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59321#action_59321 ] Hadrian Zbarcea commented on CAMEL-2716: r943644 - first cut. Also added a way to r

[jira] Created: (CAMEL-2716) Incomplete cleanup of jmx mbeans after context stop

2010-05-12 Thread Hadrian Zbarcea (JIRA)
Incomplete cleanup of jmx mbeans after context stop --- Key: CAMEL-2716 URL: https://issues.apache.org/activemq/browse/CAMEL-2716 Project: Apache Camel Issue Type: Bug Affects Versions: 2.2

[jira] Resolved: (CAMEL-2253) OnException - Consider adding flag or use stop() DSL to allow people to use it as just ignore the damn exception

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-2253. Resolution: Fixed Added wiki documentation https://cwiki.apache.org/confluence/display/CAMEL/Ex

[jira] Updated: (CAMEL-2715) RoutingSlip EIP Seems to Misbehave on Async targets, even with InOut specified

2010-05-12 Thread Scott Parkerson (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Parkerson updated CAMEL-2715: --- Attachment: camel-routingslip-testcase.zip Attached a test case that can be used to exami

[jira] Created: (CAMEL-2715) RoutingSlip EIP Seems to Misbehave on Async targets, even with InOut specified

2010-05-12 Thread Scott Parkerson (JIRA)
RoutingSlip EIP Seems to Misbehave on Async targets, even with InOut specified -- Key: CAMEL-2715 URL: https://issues.apache.org/activemq/browse/CAMEL-2715 Project: Apache Cam

Re: CxfExchange is not anymore available in Camel 2.0.0

2010-05-12 Thread William Tam
I need to correct my previous reply. Are you using PAYLOAD or POJO mode? (I assume you are using PAYLOAD.) The body is a CxfPayload object which contains a list DOM elements. The snippet would like this instead. Message message = exchange.getIn(); String request = message.getBody(String

[jira] Created: (CAMEL-2714) Create a converter to convert a CxfPayload to a String

2010-05-12 Thread William Tam (JIRA)
Create a converter to convert a CxfPayload to a String -- Key: CAMEL-2714 URL: https://issues.apache.org/activemq/browse/CAMEL-2714 Project: Apache Camel Issue Type: Improvement C

[jira] Commented: (CAMEL-2253) OnException - Consider adding flag or use stop() DSL to allow people to use it as just ignore the damn exception

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59316#action_59316 ] Claus Ibsen commented on CAMEL-2253: trunk: 943561. Need documentation at wiki pages >

Re: CxfExchange is not anymore available in Camel 2.0.0

2010-05-12 Thread William Tam
You can do something like this: Message message = exchange.getIn(); String request = message.getBody(String.class); if (request == null) { Source source = message.getBody(Source.class); if (source != null) { request = getRequestFromSource(source); } } If we had a converter to covert fr

Re: CxfExchange is not anymore available in Camel 2.0.0

2010-05-12 Thread Jon Anstey
Since the message specializations are still available, you can check the type of the message Message in = aExchange.getIn(); if (in instanceof JmsMessage) ... On Wed, May 12, 2010 at 12:54 PM, fjaouen wrote: > > With 1.5.0 I was checking the instance of Exchange in a process method to > know if

Re: CxfExchange is not anymore available in Camel 2.0.0

2010-05-12 Thread fjaouen
With 1.5.0 I was checking the instance of Exchange in a process method to know if I have a CxfMessage or a JMSMessage in order to do different treatment. if (aExchange instanceof JmsExchange) { JmsMessage jmsMessage = (JmsMessage) aExchange.getIn(); String request

[jira] Commented: (CAMEL-2253) OnException - Consider adding flag or use stop() DSL to allow people to use it as just ignore the damn exception

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59313#action_59313 ] Claus Ibsen commented on CAMEL-2253: Will add a {{continued}} option you can use instead

[jira] Updated: (CAMEL-2253) OnException - Consider adding flag or use stop() DSL to allow people to use it as just ignore the damn exception

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-2253: --- Fix Version/s: 2.3.0 (was: 2.4.0) > OnException - Consider adding flag or

[jira] Created: (CAMEL-2713) camel-netty: Add a registry based option for a custom ChannelPipelineFactory

2010-05-12 Thread Christian Mueller (JIRA)
camel-netty: Add a registry based option for a custom ChannelPipelineFactory Key: CAMEL-2713 URL: https://issues.apache.org/activemq/browse/CAMEL-2713 Project: Apache Camel

[jira] Commented: (CAMEL-2710) Skip invalid endpoints without throwing an exception

2010-05-12 Thread Willem Jiang (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59312#action_59312 ] Willem Jiang commented on CAMEL-2710: - @Claus, How about changing the LOG level to INFO

[jira] Commented: (CAMEL-2710) Skip invalid endpoints without throwing an exception

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59307#action_59307 ] Claus Ibsen commented on CAMEL-2710: Great Willem is already working on this. I think th

[jira] Commented: (CAMEL-2712) The default charset name should be UTF-8

2010-05-12 Thread Willem Jiang (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59306#action_59306 ] Willem Jiang commented on CAMEL-2712: - @Claus, Good suggestion, I'm heading to commit a

[jira] Assigned: (CAMEL-2253) OnException - Consider adding flag or use stop() DSL to allow people to use it as just ignore the damn exception

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-2253: -- Assignee: Claus Ibsen > OnException - Consider adding flag or use stop() DSL to allow peopl

[jira] Commented: (CAMEL-2603) support get operation for cache

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59305#action_59305 ] Claus Ibsen commented on CAMEL-2603: Thanks for the examples I have added them to the wik

Re: Asynchronous support in Camel

2010-05-12 Thread Guillaume Nodet
On Wed, May 12, 2010 at 04:21, Claus Ibsen wrote: > On Wed, May 12, 2010 at 10:57 AM, Guillaume Nodet > wrote: > > On Wed, May 12, 2010 at 03:30, Claus Ibsen > wrote: > > > >> On Wed, May 12, 2010 at 9:25 AM, Guillaume Nodet > wrote: > >> > On Wed, May 12, 2010 at 00:53, Claus Ibsen > >> wrot

[jira] Commented: (CAMEL-2603) support get operation for cache

2010-05-12 Thread Volodymyr Buell (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59303#action_59303 ] Volodymyr Buell commented on CAMEL-2603: Example of GET command usage:

Re: Asynchronous support in Camel

2010-05-12 Thread Claus Ibsen
On Wed, May 12, 2010 at 10:57 AM, Guillaume Nodet wrote: > On Wed, May 12, 2010 at 03:30, Claus Ibsen wrote: > >> On Wed, May 12, 2010 at 9:25 AM, Guillaume Nodet wrote: >> > On Wed, May 12, 2010 at 00:53, Claus Ibsen >> wrote: >> > >> >> >> >> You can use the ToAsync >> >> http://camel.apache.

Re: Asynchronous support in Camel

2010-05-12 Thread Guillaume Nodet
On Wed, May 12, 2010 at 03:30, Claus Ibsen wrote: > On Wed, May 12, 2010 at 9:25 AM, Guillaume Nodet wrote: > > On Wed, May 12, 2010 at 00:53, Claus Ibsen > wrote: > > > >> > >> You can use the ToAsync > >> http://camel.apache.org/toasync.html > >> > >> It leverages the AsyncProcessor API which

[jira] Commented: (CAMEL-2712) The default charset name should be UTF-8

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59301#action_59301 ] Claus Ibsen commented on CAMEL-2712: And add a note about this change in the 2.3 release

[jira] Commented: (CAMEL-2712) The default charset name should be UTF-8

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59300#action_59300 ] Claus Ibsen commented on CAMEL-2712: At least you should do the same as in XMLConverter s

Re: Asynchronous support in Camel

2010-05-12 Thread Claus Ibsen
On Wed, May 12, 2010 at 9:25 AM, Guillaume Nodet wrote: > On Wed, May 12, 2010 at 00:53, Claus Ibsen wrote: > >> >> You can use the ToAsync >> http://camel.apache.org/toasync.html >> >> It leverages the AsyncProcessor API which you know from Camel 1.x. >> >> However it hasn't been full implemente

[jira] Commented: (CAMEL-2712) The default charset name should be UTF-8

2010-05-12 Thread Willem Jiang (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59299#action_59299 ] Willem Jiang commented on CAMEL-2712: - oh, I already committed the code, it just a singl

Re: Asynchronous support in Camel

2010-05-12 Thread Guillaume Nodet
On Wed, May 12, 2010 at 00:53, Claus Ibsen wrote: > > You can use the ToAsync > http://camel.apache.org/toasync.html > > It leverages the AsyncProcessor API which you know from Camel 1.x. > > However it hasn't been full implemented and expanded to included other > Camel components than Jetty at t

[jira] Resolved: (CAMEL-2672) Add wiki documentation for load balancer example

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-2672. Assignee: Claus Ibsen (was: Charles Moulliard) Resolution: Fixed I created the wiki page

[jira] Commented: (CAMEL-2712) The default charset name should be UTF-8

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59297#action_59297 ] Claus Ibsen commented on CAMEL-2712: Hmmm I dont think its advised to mess with the defau

[jira] Resolved: (CAMEL-2692) Multithreading bug: getBody sporadically returns null

2010-05-12 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-2692. Resolution: Fixed Hi Roland Thanks for spotting this again. trunk: 943394. 1.x: 943395. > Mu