This forum is for technical questions not architectural questions.
If you want somebody to design your app, hire a consultant.

"DarkLord" wrote : 
  | My questions:
  | 
  | - What if a component is processing the request (doing some stuff with it in a TX 
and then repost on TX commit) and, AT THE SAME TIME, a SB whant to remove it because 
the request should be canceled (Will the SB waits the commit because the message is in 
a transaction?)
  | 

The SB can only remove the message if it is in the queue. If somebody has
already received it (regardless of whether the receipt is acknowledged/committed)
the SB will not find it and will not wait.

"DarkLord" wrote : 
  | - About performence, fetching the message based on a JMS header (so selector) is 
heavy. Is there an optimized way to fetch the message (knowing that the selector is a 
primary key sort of).
  | 

This is not optimized in JBossMQ, it is in other JMS providers.
It is a good idea - I will add it to my TODO list.
Other JMS providers will also let you provide a "preferred index/message selector"
and will then optimize internally for that pattern.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830939#3830939

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to