| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" metadata-complete="true"> |
| <enterprise-beans> |
| |
| <message-driven> |
| |
| <ejb-name>ChatBean</ejb-name> |
| <ejb-class>org.superbiz.mdbdesc.ChatBean</ejb-class> |
| |
| <messaging-type>javax.jms.MessageListener</messaging-type> |
| |
| <activation-config> |
| <activation-config-property> |
| <activation-config-property-name>destination</activation-config-property-name> |
| <activation-config-property-value>ChatBean</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> |
| |
| <resource-ref> |
| <res-ref-name>java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory</res-ref-name> |
| <res-type>javax.jms.ConnectionFactory</res-type> |
| <injection-target> |
| <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class> |
| <injection-target-name>connectionFactory</injection-target-name> |
| </injection-target> |
| </resource-ref> |
| |
| <resource-env-ref> |
| <resource-env-ref-name>java:comp/env/AnswerQueue</resource-env-ref-name> |
| <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type> |
| <mapped-name>AnswerQueue</mapped-name> |
| <injection-target> |
| <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class> |
| <injection-target-name>answerQueue</injection-target-name> |
| </injection-target> |
| </resource-env-ref> |
| |
| </message-driven> |
| |
| </enterprise-beans> |
| </ejb-jar> |