camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-2188) JcrProducer node creation throws javax.jcr.PathNotFoundException when using exchange ID as node name
Date Fri, 20 Nov 2009 07:37:53 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-2188:
-------------------------------

    Fix Version/s: 2.2.0

> JcrProducer node creation throws javax.jcr.PathNotFoundException when using exchange
ID as node name
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2188
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2188
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jcr
>    Affects Versions: 1.6.0
>         Environment: java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
>            Reporter: Paul Mietz Egli
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.2.0
>
>         Attachments: node-creation.diff
>
>
> To reproduce, use the camel-jcr component without specifying a node name in the message
properties.  JcrProducer will attempt to use the exchange ID as the node name, but in ServiceMix
4, this ID contains path separator characters, which results in a PathNotFound exception when
the producer attempts to create the node.  IMHO, the producer should attempt to create parent
nodes as needed when the value of either the exchange ID or the property named JcrConstants.JCR_NODE_NAME
contain path separators.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message