[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Some more comments on examples so far
timfox
do-not-reply at jboss.com
Wed Apr 1 09:01:07 EDT 2009
1) TopicSelector - please follow naming convention everyone else is using.
No need to use durable subscriptions here, we already have a durable subscription test.
Also when consuming messages print out the value of user id.
It's not clear from this example that only matching messages are selected. That's the point of the example, and it's not really mentioned at all.
There's no real explanation here of what the example is doing or why people would want to use selectors.
2) Request reply example
Best to create all the objects at the beginng otherwise it seems you're creating them on each message which would be anti-pattern.
Again, also there's no real explanation of what request-response is or why you'd want to do it.
3) Temporary queue example. Again, this example is not demonstrating anything relevant about temporary queues.
It's just sending a message to a queue, it could be any queue. It doesn't demonstrate deleting temp queues and it doesn't demonstrate scoping of temp queues (to connection).
The readme doesn't really have any useful information either.
4) TransactionalExample. Again (like I mentioned yesterday) this is not demonstrating anything really to do with transactions. It's just sending and consuming a message.
5) QueueRequestor example - no explanation of what the example is supposed to demonstrate.
Guys - you're all thinking too much like developers here! ;)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222610#4222610
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222610
More information about the jboss-dev-forums
mailing list