2 Replies Latest reply on May 7, 2010 10:37 AM by Clebert Suconic

    Create Queues programmatically in HornetQ

    Tony Burgess Newbie

      We have an application that makes an RMI call to create Queues as and when required, these are not temporary Queues and are available for as long as the client is running. This has so far caused us problems with ctx.getCallerPrincipal() being over written after we make the call.


      We have found an old issue https://community.jboss.org/thread/128200 which we have tried under HornetQ JMS and JBoss 5 but have not been able to get an example to work and at the end of that issue the user ended up using RMI anyway, is this the prefered way?


      We have looked through the examples provided and there is no mention of RMI or of using the MBeanServerFactory.createMBeanServer(); We would be very interested in an example piece of code to help out.


      Thanks


      Tony