tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kazak777 <kazak...@gmail.com>
Subject Re: Locating JMS queue problem
Date Mon, 23 Jan 2012 07:36:01 GMT
This is my ejb-jar.xml:

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
         version="3.0">

   <enterprise-beans>
        <message-driven>
            <ejb-name>ProcessMonitoringBean</ejb-name>
            <ejb-class>package.ProcessMonitoringBean</ejb-class>
            <activation-config>
                <activation-config-property>
                   
<activation-config-property-name>destination</activation-config-property-name>
                   
<activation-config-property-value>openejb:Resource/jms/MonitoringQueue
                    </activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                   
<activation-config-property-name>destinationType</activation-config-property-name>
                   
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
                </activation-config-property>
            </activation-config>
        </message-driven>
    </enterprise-beans>
</ejb-jar>

When I run the test, I get exception:

javax.naming.NameNotFoundException: Name "jms/MonitoringQueue" not found.



--
View this message in context: http://openejb.979440.n4.nabble.com/Locating-JMS-queue-problem-tp4312562p4320043.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message