|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.transport.jms.JMSURLHelper
JMSURLHelper provides access to properties in the URL.
The URL must be of the form: "jms:/
Constructor Summary
JMSURLHelper(String url)
JMSURLHelper(org.apache.commons.httpclient.URI url)
JMSURLHelper(org.apache.commons.httpclient.URI url,
String[] requiredProperties)
Method Summary
void
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)
Vector
getApplicationProperties()
Returns a collection of properties that are defined within the
JMS URL to be added directly to the JMS messages.
String
getDestination()
String
getDomain()
HashMap
getProperties()
String
getPropertyValue(String property)
Vector
getRequiredProperties()
String
getURLString()
Returns a URL formatted String.
String
getVendor()
void
setDestination(String destination)
String
toString()
Returns a formatted URL String with the assigned properties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
JMSURLHelper
public JMSURLHelper(String url)
throws Exception
JMSURLHelper
public JMSURLHelper(org.apache.commons.httpclient.URI url)
throws MalformedURLException
JMSURLHelper
public JMSURLHelper(org.apache.commons.httpclient.URI url,
String[] requiredProperties)
throws MalformedURLException
Method Detail
addApplicationProperty
public void addApplicationProperty(String property)
addApplicationProperty
public void addApplicationProperty(String property,
String value)
addRequiredProperties
public void addRequiredProperties(String[] properties)
addRequiredProperty
public void addRequiredProperty(String property)
toString
public String toString()
getApplicationProperties
public Vector getApplicationProperties()
getDestination
public String getDestination()
getDomain
public String getDomain()
getProperties
public HashMap getProperties()
getPropertyValue
public String getPropertyValue(String property)
getRequiredProperties
public Vector getRequiredProperties()
getURLString
public String getURLString()
getVendor
public String getVendor()
setDestination
public void setDestination(String destination)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD