1. Revoking an already sent JMS Message coderanch.comhi Folks, I have a program, that sends in bunch of JMS messages over the message queue. But down the line there is a possibility that some of these JMS messages may be preceded by another JMS Message, is there a way to delete an already existing JMS message in the Message Queue ( programatically ) and supercede with this new ... |
2. JMS message priority coderanch.com |
3. JMS -Topic message Unicast ? coderanch.com |
4. Sending and Reading byte Message + JMS coderanch.comHi, Yesterday i got an exception while reading message from MQ. Below is the log. ERROR - 2010-02-23 15:32:09,250 - com.interactcrm.queuemanager.JmsUtil - Exception while reading message from queue javax.jms.JMSException: java.io.UTFDataFormatException at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62) at org.apache.activemq.command.ActiveMQTextMessage.getText(ActiveMQTextMessage.java:90) at com.interactcrm.queuemanager.JmsUtil.consumeFromMessageQueue(JmsUtil.java:75) at com.interactcrm.queuemanager.ConsumerThread$QueueReader.run(ConsumerThread.java:73) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.io.UTFDataFormatException at org.apache.activemq.util.MarshallingSupport.readUTF8(MarshallingSupport.java:366) at org.apache.activemq.command.ActiveMQTextMessage.getText(ActiveMQTextMessage.java:85) ... 4 more and below is the message for which i got ... |
5. JMS : Difference between a Persistent and a Non Persistent Message coderanch.comthanks Gopi , that was a nice answer , Assume a scenario in case of a Persistent Messages , assume that the Message has been persisted in the File system / or in a database and has been picked up from the Queue from a MDB , so waht is the appropaite time to delete that Message from the Filesystem / ... |
6. duplicate messages JMS coderanch.com |
7. JMS and acknowledging group of messages coderanch.comI want to process a group of messages together and acknowledge when I receive the last message in a group. Say I have 10 messages in a group and I have a header property to identify the last message in that group. When I receive the last message I would call the acknowledge() method. But I feel I might get stuck ... |
8. JMS message issue coderanch.comHi all, In our production cluster enviornment we use WebLogic v923 and Java v5. We have many queues that get high volume of messages per day. The JMS queues are setup with redirect limit as zero and the messages are sent to error queue when they fails to be processed by these queues s related MDB due to an application logic ... |
9. lost jms message recovery mechanism coderanch.com |
10. JMS Message coderanch.com |
11. Configuring Delay in reading JMS Message coderanch.comHi All, I am consuming JMS message in my application (NOT deployed in an application Server). However as a step forward to the current application, we need to add in some delay in between 2 messages which are read from Queue. For eg. normal flow is as follows 1. Read a message from Queue. 2. Process the message 3. Ack the ... |
12. JMS message coderanch.com |
13. Control Message in JMS coderanch.com |
14. Why JMS message gets locked after processed. coderanch.comHi, I have an JMS application, the requirement is like read message from a JMS queue and do some operation,if that operation fails put the message back on queue and process again after some time(like after 5 mins or 10 mins). I have to retry processing the same message say 3 times in an hour time,but what is happening is once ... |
15. How to retrieve JMS message with correlation id java-forums.orgHello, I'm trying to retrieve the response-message through the correlation-id. This is the code I now have. Anyone any idea how I can find the right message. public String sendMessage(String sendMessage) { Queue tmpQueue=null; TextMessage messageTxt = null; String correlationId=null; String returnValue = ""; String myFilter; Context ctx; try { System.out.println("START"); System.out.println("sendMessage : " + sendMessage); ctx = (Context) new InitialContext().lookup("java:comp/env"); ... |