Re: Facing problems while using Set Header camel Processor

2009-04-28 Thread Claus Ibsen
Hi The JMS spec only allows a limited set of types and key names for JMS properties (aka headers). So its likely the result of the xpath expression is not a valid type and thus its dropped. You can use the Tracer to see how the message is routed and what it contains at the different points in the

[jira] Resolved: (CAMEL-1552) Provide declarative transaction handling for the JPA component

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1552. Resolution: Fixed Fix Version/s: 2.0.0 1.6.1 trunk: 769673 1.x: 76967

Facing problems while using Set Header camel Processor

2009-04-28 Thread sailaja p
Hi All, I am facing some difficulty when deploying a Camel Spring XML configuration with Message Translator pattern and Set Header Processor into Service mix 3.4.0.1. I have defined a route with JMS Endpoint(TestMF)-> Set Header Processor (Xpath) -> JMS Endpoint (TestMF1) -> Message Translator (

[jira] Assigned: (CAMEL-1552) Provide declarative transaction handling for the JPA component

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-1552: -- Assignee: Claus Ibsen > Provide declarative transaction handling for the JPA component > --

Re: The jmsMessage is not set yet, call the super's createMessageId

2009-04-28 Thread Claus Ibsen
Hi The problem is that you are setting the header on the backing javax.jms.Message. What you should do is set the header on the Camel Exchange/Message API. So the code in your bean should be like this: exchange.getIn().setHeader("route", "b"); On Tue, Apr 28, 2009 at 8:36 PM, jbekas wrote: >

The jmsMessage is not set yet, call the super's createMessageId

2009-04-28 Thread jbekas
activemq 5.2.0 camel-2.0-M1 I'm trying to set a header on a JmsMessage based on content contained in the message. I then use a choice statement to route to the next destination. However, I receive the log message "The jmsMessage is not set yet, call the super's createMessageId" when the header

[jira] Commented: (CAMEL-1566) HL7/MLLP receivers fails for long HL7 messages

2009-04-28 Thread Hadrian Zbarcea (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51428#action_51428 ] Hadrian Zbarcea commented on CAMEL-1566: Christian, thanks for the great patch. For m

[jira] Issue Comment Edited: (CAMEL-1563) Message - getOut, getFault should not create empty message if none exists

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51425#action_51425 ] Claus Ibsen edited comment on CAMEL-1563 at 4/28/09 9:27 AM: - Wha

[jira] Commented: (CAMEL-1563) Message - getOut, getFault should not create empty message if none exists

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51425#action_51425 ] Claus Ibsen commented on CAMEL-1563: What if we add: - {getOrCreateOut} - {getOrCreateFau

[jira] Commented: (CAMEL-1563) Message - getOut, getFault should not create empty message if none exists

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51424#action_51424 ] Claus Ibsen commented on CAMEL-1563: Added the hasOut() variation and commited it to trun

[jira] Commented: (CAMEL-1568) Converting from stream/reader to string changes line breaks other than "\n"

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51423#action_51423 ] Claus Ibsen commented on CAMEL-1568: There was a bug in the patch. It did not read the en

[jira] Commented: (CAMEL-1563) Message - getOut, getFault should not create empty message if none exists

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51422#action_51422 ] Claus Ibsen commented on CAMEL-1563: Thanks Roman. I am on the same level as you. Would l

[jira] Commented: (CAMEL-1563) Message - getOut, getFault should not create empty message if none exists

2009-04-28 Thread Roman Kalukiewicz (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51421#action_51421 ] Roman Kalukiewicz commented on CAMEL-1563: -- Maybe I should just give an example of w

[jira] Created: (CAMEL-1571) Using the Camel features in Camel OSGi integration test

2009-04-28 Thread Willem Jiang (JIRA)
Using the Camel features in Camel OSGi integration test --- Key: CAMEL-1571 URL: https://issues.apache.org/activemq/browse/CAMEL-1571 Project: Apache Camel Issue Type: Improvement

[jira] Resolved: (CAMEL-1526) Add a ServiceMix Kernel features descriptor to Camel

2009-04-28 Thread Gert Vanthienen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gert Vanthienen resolved CAMEL-1526. Resolution: Fixed Fix Version/s: 1.6.1 Switched to using simple Maven resource f

Concordance between code formatting and checkstyle in Eclipse

2009-04-28 Thread Charles Moulliard
Hi, I try to format my code in Eclipse to make this in concordance with checkstyle rules but it fails. Scenario : 1) In eclipse, I have imported the following file to format the code : https://svn.apache.org/repos/asf/camel/trunk/etc/eclipse/ActiveMQCodeFormatter.xml 2) I format my java classes

[jira] Assigned: (CAMEL-1563) Message - getOut, getFault should not create empty message if none exists

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-1563: -- Assignee: Claus Ibsen > Message - getOut, getFault should not create empty message if none

[jira] Commented: (CAMEL-1563) Message - getOut, getFault should not create empty message if none exists

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51419#action_51419 ] Claus Ibsen commented on CAMEL-1563: [11:47] the common case is gonna be folks accessin

[jira] Resolved: (CAMEL-1562) Introduce Channel between each EIP in the route path

2009-04-28 Thread Claus Ibsen (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1562. Resolution: Fixed Added Navigate feature so we can navigate the routes (the ones with the proc

[jira] Updated: (CAMEL-1570) Jetty component is unable to be configured for security

2009-04-28 Thread Christopher Hunt (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Hunt updated CAMEL-1570: Attachment: JettyHttpEndpoint.java.diff JettyHttpComponent.java.diff Pa

[jira] Updated: (CAMEL-1570) Jetty component is unable to be configured for security

2009-04-28 Thread Christopher Hunt (JIRA)
[ https://issues.apache.org/activemq/browse/CAMEL-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Hunt updated CAMEL-1570: Description: The Jetty component is presently unable to be configured for security. A

[jira] Created: (CAMEL-1570) Jetty component is unable to be configured for security

2009-04-28 Thread Christopher Hunt (JIRA)
Jetty component is unable to be configured for security --- Key: CAMEL-1570 URL: https://issues.apache.org/activemq/browse/CAMEL-1570 Project: Apache Camel Issue Type: Improvement

Re: Code formatter - Eclipse / checkstyle

2009-04-28 Thread Charles Moulliard
Hi Gert, I propose to reorganize the content of /etc/eclipse like structure proposed hereunder otherwise this is not really trivial for a non-initiated to understand where files must be imported in Eclipse (+ wiki page probably) 1) /etc/eclipse/templates/codeformat (= Eclipse / Preferences / Java

Re: Code formatter - Eclipse / checkstyle

2009-04-28 Thread Gert Vanthienen
Charles, I think you are looking for the files in etc/eclipse. I guess we should configure the maven-eclipse-plugin to generate the correct formatter description in the project settings while doing a mvn eclipse:eclipse, so these settings happen automatically. Regards, Gert Vanthienen --

Re: Code formatter - Eclipse / checkstyle

2009-04-28 Thread Charles Moulliard
Hi Claus, I already have a look to the files : camel-eclipse-*** but the content of these files is completely different from what we have in the eclipse 3.4 templates : //$$NON-NLS-${N}$$ So I don't know how such files are used, for which version of Eclipse, ??? Regards, Charles On

Re: Code formatter - Eclipse / checkstyle

2009-04-28 Thread Claus Ibsen
Hi Take a look in the camel source. There should be some checkstyle files that Eclipse can use. In this folder /buildingtools/src/main/resources$ On Tue, Apr 28, 2009 at 9:19 AM, Charles Moulliard wrote: > Hi, > > I'm looking for a template that I can use in Eclipse Ganymede 3.4 allowing > to

Code formatter - Eclipse / checkstyle

2009-04-28 Thread Charles Moulliard
Hi, I'm looking for a template that I can use in Eclipse Ganymede 3.4 allowing to format my code according to checkstyle rules which are supported by Apache Camel community. Is such template existing ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer **