[jboss-user] [Beginner's Corner] - JMS MDB in JBoss AS 6

Michael Justin do-not-reply at jboss.com
Sun Jun 20 11:31:24 EDT 2010


Michael Justin [http://community.jboss.org/people/mjustin] created the discussion

"JMS MDB in JBoss AS 6"

To view the discussion, visit: http://community.jboss.org/message/548898#548898

--------------------------------------------------------------
In a recent thread I found this example for a MDB configuration.


@MessageDriven(
    activationConfig = 
    {
        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
    },
    mappedName = "queue/MessageBeanQueue")


#Is it required to include the destinationType property? Maybe this is an old questions which 
has been answered (many times) before: if a queue with the name #queue/MessageBeanQueue is mapped in the broker, is there a reason why the bean also has
to declare that it is a queue?







 

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/548898#548898]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100620/a50e0ba5/attachment.html 


More information about the jboss-user mailing list