Available message types in JMS?
This is based on a past exam question.
The question is asking to describe the four types of message available using JMS.
The problem is it says the four, not just four. So it assumes their is only four, no more no less.
However according to this site their seems to be five;
- streams
- maps
- text
- objects
- bytes
*Another book states that XML is another potential type in future versions of JMS. I开发者_开发问答s XML already available?
Am I missing something or is the question just wrong?
Thanks.
EDIT: There are 5 types
Sun's JMS Spec 1.1 in Section 3.1.1 lists the same five message types. The question appears to be wrong.
If you are going to pass XML, you use bytes.
精彩评论