[ 
https://issues.apache.org/activemq/browse/CAMEL-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49768#action_49768
 ] 

James Strachan commented on CAMEL-1358:
---------------------------------------

Awesome stuff Stephen! 

Unfortunately I tried fixing this before I saw your patch. You're patch is much 
more clever :) I just added a constant String to the 
org.apache.camel.model.Constants class which contains all the packages that 
contain JAXB classes (which others might find handy anyway - we were already 
using this String in some test classes) - then appended the package for the 
camel-web code. I figured this was maybe a bit simpler & faster? (though much 
less clever & cool! :)

I've applied the other bit of your patch though, to re-enable the failing test 
- thanks for spotting that I'd forgotten all about it :)

BTW did this part of your patch help?

{code}
-              <version>${jersey-version}</version>
+              <version>1.0.1</version>
{code}

am wondering if there's some issue with 1.0.3-SNAPSHOT?




> Fix for RouteTest problem in Camel-Web component
> ------------------------------------------------
>
>                 Key: CAMEL-1358
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1358
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-web
>         Environment: Linux  2.6.27-11-generic 
>            Reporter: Stephen Gargan
>         Attachments: camel-web-patch.txt
>
>
> I've created a patch to fix the marshalling problems in the Camel-web 
> project. It scans the camel model and rest model packages to gather the 
> classes required for the jaxb context. The routing test passes now.
> (FYI: there is no listing for this  component in the components view above, 
> under camel-web or camel-rest)

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

Reply via email to