Guest User

Untitled

a guest
Jun 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1. locator = HornetQClient.createServerLocatorWithoutHA(new TransportConfiguration("org.hornetq.core.remoting.impl.invm.InVMConnectorFactory"));
  2. ClientSessionFactory sf = locator.createSessionFactory();
  3. session = sf.createSession(false, true, true);
  4. final SimpleString QUEUE = new SimpleString(queueName);
  5. session.createQueue(QUEUE, QUEUE, null, false);
Add Comment
Please, Sign In to add comment