You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2008/10/29 12:27:54 UTC

[jira] Resolved: (CAMEL-1033) create CamelMessageListener helper class for more easily invoking Camel from inside a JMS application or an MDB

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

James Strachan resolved CAMEL-1033.
-----------------------------------

    Resolution: Fixed

You can now use code like this

{code}
MessageListener listener =
CamelMessageListener.newInstance(camelContext, "direct:foo");
{code}

where "direct:foo" is whatever Camel URI you want to use to process
the incoming JMS message.

So this code can be easily wrapped up in an MDB or JMS framework if you prefer.

Though if you are using Spring we recommend using the [JMS endpoint directly|http://activemq.apache.org/camel/jms.html]

> create CamelMessageListener helper class for more easily invoking Camel from inside a JMS application or an MDB
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1033
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1033
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 2.0.0
>
>


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