You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/11/21 13:03:52 UTC

[jira] Commented: (CAMEL-2137) Beans can not be used in Camel routes deployed as JBI service units to ServiceMix

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

Claus Ibsen commented on CAMEL-2137:
------------------------------------

Could you provide a sample project that demonstrates this.

And what version of Camel did you use?
I assume you run it in ServiceMix 4.x but you need to provide details of those versions etc.

If not its *way* to time consuming for us to try guessing and creating something that matches your issue.

> Beans can not be used in Camel routes deployed as JBI service units to ServiceMix
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2137
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2137
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jbi
>            Reporter: Sergey Beryozkin
>             Fix For: 2.2.0
>
>
> Create a JBI SU containing a quartz timer.
> Create a JBI SU cointaining a Camel route which, for ex, includes, a custom transformation part executed by MyTransform bean class (similarly to that shipped with a number of camel examples). Start from a from: rule which gets the events from a quartz endpoint and delegates to MyTransfrom and let the output from MyTransfrom go to log:test.
> This bean won't be invoked and after deploying the assembly and doing
> log:display | grep test
> you'll see that quartz events are indeed picked up but they're transmitted directly to log:test

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