Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The dd tag 'message-driven-destination' is optional ?

 
Dhondiba Joshi
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is The dd tag <message-driven-destination> optional ?
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This kind of question is usually best answered by the spec. In appendix B, you can find the following:

<!ELEMENT message-driven (description?, display-name?, small-icon?,
large-icon?, ejb-name, ejb-class, transaction-type,
message-selector?, acknowledge-mode?,
message-driven-destination?, env-entry*, ejb-ref*,
ejb-local-ref*, security-identity?, resource-ref*,
resource-env-ref*)>


After message-driven-destination, there is a question mark. This means that the element can appear 0 or 1 time as a child of the message-driven element.
 
Dhondiba Joshi
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic