[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Configure a queue to be ordering aware

gozilla do-not-reply at jboss.com
Tue Feb 3 10:05:32 EST 2009


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#4206585

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206585



More information about the jboss-dev-forums mailing list