1 10 11 package org.mule.providers.jms; 12 13 import org.mule.config.i18n.Message; 14 import org.mule.umo.MessagingException; 15 16 public class MessageRedeliveredException extends MessagingException 17 { 18 21 private static final long serialVersionUID = 9013890402770563931L; 22 23 public MessageRedeliveredException(JmsMessageAdapter jmsMessage) 24 { 25 super(new org.mule.config.i18n.Message("jms", 7, (jmsMessage == null 26 ? "[null message]" : jmsMessage.getUniqueId())), jmsMessage); 27 } 28 29 public MessageRedeliveredException(Message message, JmsMessageAdapter jmsMessage) 30 { 31 super(message.setNextMessage(new org.mule.config.i18n.Message("jms", 7, (jmsMessage == null 32 ? "[null message]" : jmsMessage.getUniqueId()))), jmsMessage); 33 } 34 } 35 | Popular Tags |