You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "javier (JIRA)" <ji...@apache.org> on 2010/02/12 21:08:28 UTC

[jira] Commented: (CXF-2662) improve JMSFactory to use an external MessageListenerContainer

    [ https://issues.apache.org/jira/browse/CXF-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833147#action_12833147 ] 

javier commented on CXF-2662:
-----------------------------

it would great if you can modify createJmsListener in JMSFactory where say:

  if (jmsConfig.getMessageListenerContainer() != null) {
            return jmsConfig.getMessageListenerContainer();
  }

to:

  if (jmsConfig.getMessageListenerContainer() != null) {
         AbstractMessageListenerContainer  jmsListener =  jmsConfig.getMessageListenerContainer();
         if(jmsListener.getMessageListener() == null)
              jmsListener.setMessageListener(listenerHandler);
        jmsListener.initialize();
        jmsListener.start();
        return listener;
  }




> improve JMSFactory to use an external MessageListenerContainer
> --------------------------------------------------------------
>
>                 Key: CXF-2662
>                 URL: https://issues.apache.org/jira/browse/CXF-2662
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.2.6
>            Reporter: javier
>             Fix For: 2.2.7
>
>
> can you improve or specify how to use an external MessageListenerContainer in the JMSFactory?
> if i set it in the JMSConfiguration i need a messageListener that is a JMSDestination and it is difficult to set in spring and not sure if it is possible. 

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