-
1. Re: Why does MDB prepend queue/ to name
slz1972 Mar 22, 2002 3:16 PM (in response to pcallies)JBossMQ uses jndi to lookup administered JMS objects, such as Queue and Topic.
The jndi or jnp of JBoss uses Unix-like file system to store objects.
queue/ , in this case, indicates a directory name containing various queues names.
hope that helps
sheng -
2. Re: Why does MDB prepend queue/ to name
pcallies Mar 23, 2002 1:55 PM (in response to pcallies)Thanks for trying, but that tells me what JBossMQ does, not why the message-driven bean plugin assumes that queues will be prefixed with the queue/ directory.
It seems an assumption was made that the MDB would never be used with another messaging system. It would have been better to take the value of the destination-jndi-name element of the jboss.xml deployment descriptor as-is. People who are running against JBossMQ would need to prefix their destinations with "queue/" or "topic/", but it would open the door to other messaging systems.
I guess I'll take a shot at making the change myself and see how it works. -
3. Re: Why does MDB prepend queue/ to name
pra Mar 24, 2002 8:05 AM (in response to pcallies)It was done totaly pluggable from start. Then someone introduced sopme magic when a destination was not there and the code became unportable. If you solve this, pleas contribute a patch.
//Peter -
4. Re: Why does MDB prepend queue/ to name
amueller Mar 24, 2002 11:26 AM (in response to pcallies)> It was done totaly pluggable from start. Then someone
> introduced sopme magic when a destination was not
> there and the code became unportable.
Yeah, you need some kind of quality control (a 'board' or whatever). Contributing a change over a change doesn't work.
Andreas -
5. Re: Why does MDB prepend queue/ to name
pra Mar 24, 2002 3:38 PM (in response to pcallies)Yea, but that particular change WAS much depated an introduced against mine and Hirams recomendation. I do not want to dvelve into it; but I did lose the lust to fix the problem.
//Peter