public class JMSURLHelper extends Object
Constructor and Description |
---|
JMSURLHelper(URL url) |
JMSURLHelper(URL url,
String[] requiredProperties) |
Modifier and Type | Method and Description |
---|---|
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
|
public JMSURLHelper(URL url) throws MalformedURLException
MalformedURLException
public JMSURLHelper(URL url, String[] requiredProperties) throws MalformedURLException
MalformedURLException
public String getDestination()
public void setDestination(String destination)
public String getVendor()
public String getDomain()
public HashMap getProperties()
public void addRequiredProperties(String[] properties)
public void addRequiredProperty(String property)
public Vector getRequiredProperties()
public void addApplicationProperty(String property)
public void addApplicationProperty(String property, String value)
public Vector getApplicationProperties()
public String getURLString()
Copyright © The Apache Software Foundation. All Rights Reserved.