Class JMSURLHelper

java.lang.Object
org.apache.axis.transport.jms.JMSURLHelper

public class JMSURLHelper extends Object
JMSURLHelper provides access to properties in the URL. The URL must be of the form: "jms:/?[=invalid input: '&']*"
Author:
Ray Chun (rchun@sonicsoftware.com)
  • Constructor Details

  • Method Details

    • getDestination

      public String getDestination()
    • setDestination

      public void setDestination(String destination)
    • getVendor

      public String getVendor()
    • getDomain

      public String getDomain()
    • getProperties

      public HashMap getProperties()
    • getPropertyValue

      public String getPropertyValue(String property)
    • addRequiredProperties

      public void addRequiredProperties(String[] properties)
    • addRequiredProperty

      public void addRequiredProperty(String property)
    • getRequiredProperties

      public Vector getRequiredProperties()
    • addApplicationProperty

      public void addApplicationProperty(String property)
      Adds the name of a property from the url properties that should be added to the JMS message.
    • addApplicationProperty

      public void addApplicationProperty(String property, String value)
      Adds the name and value od the application property to the JMS URL.
    • getApplicationProperties

      public Vector getApplicationProperties()
      Returns a collection of properties that are defined within the JMS URL to be added directly to the JMS messages.
      Returns:
      collection or null depending on presence of elements
    • getURLString

      public String getURLString()
      Returns a URL formatted String. The properties of the URL may not end up in the same order as the JMS URL that was originally used to create this object.
    • toString

      public String toString()
      Returns a formatted URL String with the assigned properties
      Overrides:
      toString in class Object