This content has been marked as final.
Show 3 replies
-
1. Re: Are we not supposed to use HornetQServer (no javadocs)
gaohoward Dec 4, 2011 10:36 PM (in response to shergill)Pls take a look at Chapter 8. There is a code example that may be useful to you.
Howard
-
2. Re: Are we not supposed to use HornetQServer (no javadocs)
shergill Dec 4, 2011 11:01 PM (in response to gaohoward)Thanks.. I did take a look at it. Seems like there are many ways to create a queue. One can create a queue using a 'HornetQServer' object and also using a ClientSession object.
I just figured since I had access to the HornetQServer object; I might as well just use that to creat a queue. Is there a issue with that I should be concerned about?
-
3. Re: Are we not supposed to use HornetQServer (no javadocs)
gaohoward Dec 4, 2011 11:17 PM (in response to shergill)I'd generally suggest you use the ClientSession. It can create a queue remotely. Because HornetQServer is an internal object, it's API may change over the releases. So your code may work with current version, but may not with future versions.
Howard