Hi,
WRT to where to specify the option to order message (actually, it is more general than
this option), I support Howard in that it should be configurable on the Destination as
well as the CF.
Why on the Destination:
- the option can be activated without any code change.
- this can be seen as a Destination characteristic after all.
- it wouldn't force the sending application to use different CF to send the messages.
Why on the CF:
- like Tim said, so the same destination can be used with and without ordering.
Bottom line, it all depends on the usage scenario.
Actually, I like the ability to "add" characteristics to messages using the
objects through which they pass:
- producer
- CF
- transport channel(s)
- router(s)
- destination
By characteristics, I mean all the properties that a message can have, such as:
- ordering group,
- TTL,
- size constraints,
- priority,
- actually any message property,
- message filters,
...
Cheers,
Francois
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206585#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...