Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String queueName = "jms.queue.sender.queuename";
- EnqueueManager manager = new EnqueueManager(queueName);
- try {
- manager.enqueue("This is some text");
- manager.commit();
- }
- finally {
- manager.close();
- }
Add Comment
Please, Sign In to add comment