org.jboss.soa.esb.listeners
Class ListenerUtil
java.lang.Object
org.jboss.soa.esb.listeners.ListenerUtil
public class ListenerUtil
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tryToDeliver
public static EPR tryToDeliver(Message message,
java.lang.String category,
java.lang.String name)
throws CourierException,
RegistryException,
MalformedEPRException
- Throws:
CourierException
RegistryException
MalformedEPRException
assembleEpr
public static EPR assembleEpr(ConfigTree tree)
throws ConfigurationException
- Throws:
ConfigurationException
jmsEprFromElement
public static JMSEpr jmsEprFromElement(ConfigTree tree)
throws ConfigurationException
- Throws:
ConfigurationException
fileEprFromElement
public static FileEpr fileEprFromElement(ConfigTree tree)
throws ConfigurationException
- Throws:
ConfigurationException
jdbcEprFromElement
public static JDBCEpr jdbcEprFromElement(ConfigTree tree)
throws ConfigurationException
- Throws:
ConfigurationException
getAttrAndWarn
public static java.lang.String getAttrAndWarn(ConfigTree tree,
java.lang.String tag,
java.lang.String defaultValue)
throws ConfigurationException
- Throws:
ConfigurationException
obtainAtt
public static java.lang.String obtainAtt(ConfigTree p_oP,
java.lang.String p_sAtt,
java.lang.String p_sDefault)
throws ConfigurationException
- Find an attribute in the tree (arg 0) or assign default value (arg 2)
- Parameters:
p_oP - ConfigTree - look for attributes in this Element onlyp_sAtt - String - Name of attribute to findp_sDefault - String -default value if requested attribute is not there
- Returns:
- String - value of attribute, or default value (if null)
- Throws:
ConfigurationException - -
If requested attribute not found and no default value
supplied by invoker