Package org.apache.axis.transport.jms
Class JMSURLHelper
java.lang.Object
org.apache.axis.transport.jms.JMSURLHelper
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addApplicationProperty
(String property) Adds the name of a property from the url properties that should be added to the JMS message.void
addApplicationProperty
(String property, String value) Adds the name and value od the application property to the JMS URL.void
addRequiredProperties
(String[] properties) void
addRequiredProperty
(String property) Returns a collection of properties that are defined within the JMS URL to be added directly to the JMS messages.getPropertyValue
(String property) Returns a URL formatted String.void
setDestination
(String destination) toString()
Returns a formatted URL String with the assigned properties
-
Constructor Details
-
JMSURLHelper
- Throws:
MalformedURLException
-
JMSURLHelper
- Throws:
MalformedURLException
-
-
Method Details
-
getDestination
-
setDestination
-
getVendor
-
getDomain
-
getProperties
-
getPropertyValue
-
addRequiredProperties
-
addRequiredProperty
-
getRequiredProperties
-
addApplicationProperty
Adds the name of a property from the url properties that should be added to the JMS message. -
addApplicationProperty
Adds the name and value od the application property to the JMS URL. -
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
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
Returns a formatted URL String with the assigned properties
-