1 57 58 package org.apache.wsif.util.jms; 59 60 import javax.jms.JMSException ; 61 import org.apache.wsif.WSIFException; 62 63 67 public final class WSIFJMSConstants { 68 69 public static final long WAIT_FOREVER = 0; 71 72 static final String REPLY_TO = "JMSReplyTo"; 74 75 static final String JMS_CORRELATION_ID = "JMSCorrelationID"; 77 78 static final WSIFException ToWsifException(Throwable t) { 79 return new WSIFException( 80 "WSIF Jms support caught '" 81 + t 82 + ((t instanceof JMSException ) 83 ? ("' linked exception '" + ((JMSException ) t).getLinkedException() + "'") 84 : "'")); 85 } 86 } | Popular Tags |