posted 19 years ago
#1) The <message-driven-destination> is optional - however if mentioned, then <destination-type> is mandatory.
#2) I do not know the answer to this. My only guess here is that a durable subscription has an overhead due to the increased reliability that it provides. So if you really dont mind about messages getting missed, you wouldn't make the subscription durable. If someone could give a better explanation, it would really help.
Regards<br />Ram<br /> <br />SCJP 1.4, SCBCD 1.3, (SCEA)