protected java.lang.String | toExternalForm(java.net.URL url)Reassembles the URL string, in the form "jms:/?prop1=value1&prop2=value2&..."
// register the JMSTransport class
org.apache.axis.client.Call.setTransportForProtocol(JMSConstants.PROTOCOL, org.apache.axis.transport.jms.JMSTransport.class);
String destination = url.getPath().substring(1);
String query = url.getQuery();
StringBuffer jmsurl = new StringBuffer(JMSConstants.PROTOCOL + ":/");
jmsurl.append(destination).append("?").append(query);
return jmsurl.toString();
|