Guest User

Untitled

a guest
Jul 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. String queueName = "jms.queue.sender.queuename";
  2. EnqueueManager manager = new EnqueueManager(queueName);
  3.  
  4. try {
  5.  
  6. manager.enqueue("This is some text");
  7. manager.commit();
  8. }
  9. finally {
  10.  
  11. manager.close();
  12. }
Add Comment
Please, Sign In to add comment