| Author |
MDB question.
|
Steven Colley
Ranch Hand
Joined: Feb 18, 2005
Posts: 290
|
|
Hi Folks, Insn�t the <message-driven-destination> tag in <message-driven> mandatory? if not, what is the default dstination type value? topic or queue??? Tks so much!!!
|
SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
|
 |
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
|
message-driven-destination is optional
|
 |
Steven Colley
Ranch Hand
Joined: Feb 18, 2005
Posts: 290
|
|
So...what is the default destination type value? topic or queue??? Tks.
|
 |
Benoît de Chateauvieux
Ranch Hand
Joined: Aug 10, 2007
Posts: 183
|
|
Found in the EJB specs: JSR 220: Enterprise JavaBeansTM,Version 3.0 EJB Core Contracts and Requirements 16.9.1.3 Declaration of Message Destination References in Deployment Descriptor The message-destination- type element specifies the expected type of the referenced destination. For example, in the case of a JMS Destination, its value might be javax.jms.Queue. The message-destination- type element is optional if an injection target is specified for the message destination reference; in this case the message-destination-type defaults to the type of the injection target. Hope it helps.
|
SCJP5 | SCBCD5 | SCEA5 Part 1
|
 |
Steven Colley
Ranch Hand
Joined: Feb 18, 2005
Posts: 290
|
|
Hi Benoit, sure it helps a lot tks!!! But...another question..is it the similar to spec 2.0 ? I'll be in search of this!!! Tks!!!;-)
|
 |
 |
|
|
subject: MDB question.
|
|
|