Package com.caucho.jms

Examples of com.caucho.jms.JmsMessageListener


        bean.setInjectionTarget(injectTarget);

        setBeanConfig(bean.getEJBName(), bean);
      }
      else if (annType.isAnnotationPresent(JmsMessageListener.class)) {
        JmsMessageListener listener
          = annType.getAnnotation(JmsMessageListener.class);

        EjbMessageBean<X> bean
          = new EjbMessageBean<X>(this, rawAnnType, annType, listener.destination());

        bean.setInjectionTarget(injectTarget);

        setBeanConfig(bean.getEJBName(), bean);
      }
View Full Code Here


        _messagingType = type;
    }
   
    validate();

    JmsMessageListener listener
      = getAnnotatedType().getAnnotation(JmsMessageListener.class);

    if (listener != null) {
      addActivationConfigProperty("destination", listener.destination());
      addActivationConfigProperty("consumer-max",
                                  String.valueOf(listener.consumerMax()));
    }
  }
View Full Code Here

  bean.setInjectionTarget(injectTarget);

  setBeanConfig(bean.getEJBName(), bean);
      }
      else if (annType.isAnnotationPresent(JmsMessageListener.class)) {
  JmsMessageListener listener
    = annType.getAnnotation(JmsMessageListener.class);
 
  EjbMessageBean bean = new EjbMessageBean(this, annType,
             listener.destination());
  bean.setInjectionTarget(injectTarget);

  setBeanConfig(bean.getEJBName(), bean);
      }
    } catch (ConfigException e) {
View Full Code Here

      Class<?> type = messageDriven.messageListenerInterface();
      if (type != null && ! Object.class.equals(type))
        _messagingType = type;
    }

    JmsMessageListener listener
      = getEJBClassWrapper().getAnnotation(JmsMessageListener.class);

    if (listener != null) {
      addActivationConfigProperty("destination", listener.destination());
      addActivationConfigProperty("consumer-max",
                                  String.valueOf(listener.consumerMax()));
    }
  }
View Full Code Here

TOP

Related Classes of com.caucho.jms.JmsMessageListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.