*
The moose likes EJB and other Java EE Technologies and the fly likes Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Question" Watch "Question" New topic
Author

Question

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
Hi, ¿is this .xml well done?

My MDB doesn´t works and I using Jboss.

destinations-service
------------------------

<?xml version="1.0" encoding="UTF-8"?>

<!--
Messaging Destinations deployment descriptor.

$Id: destinations-service.xml 81998 2008-12-03 06:46:29Z scott.stark@jboss.org $
-->

<server>

<!--
The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
-->

<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=DLQ"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>

<!--
MyQueue.
-->

<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=MyQueue"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>


<server>

¿Advice?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question
 
Similar Threads
Syntax error in destinations-service.xml
how to force instantiation of MDBs when JBoss starts up?
Error in destinations-services.xml
JBOSS 5.0.1.ga problem with mysql-ds and deploying service=Queue and service="PostOffice"
Problem in Deploying MDB bean