cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "javier (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CXF-2662) improve JMSFactory to use an external MessageListenerContainer
Date Fri, 12 Feb 2010 20:08:28 GMT

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

javier edited comment on CXF-2662 at 2/12/10 8:08 PM:
------------------------------------------------------

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;
}




      was (Author: javier):
    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.


Mime
View raw message