|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.actions.Notifier
public class Notifier
Stand alone action class that replaces the NotificationHandler EJB (beta 1)
Field Summary | |
---|---|
protected ConfigTree |
_config
|
protected static org.apache.log4j.Logger |
_logger
|
protected ConfigTree[] |
_notifyError
|
protected ConfigTree[] |
_notifyOK
|
Constructor Summary | |
---|---|
Notifier(ConfigTree config)
|
Method Summary | |
---|---|
void |
destroy()
Destroy the action instance. |
void |
initialise()
Initialise the action instance. |
java.lang.String |
messageAsString(Message message)
Deprecated. |
void |
notifyError(Message message,
java.lang.Throwable th)
|
void |
notifyOK(Message message)
|
Message |
process(Message message)
This is equivalent to a No Operation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ConfigTree _config
protected ConfigTree[] _notifyOK
protected ConfigTree[] _notifyError
protected static org.apache.log4j.Logger _logger
Constructor Detail |
---|
public Notifier(ConfigTree config)
Method Detail |
---|
public void initialise() throws ActionLifecycleException
initialise
in interface ActionLifecycle
ActionLifecycleException
- for errors during initialisation.public void destroy() throws ActionLifecycleException
destroy
in interface ActionLifecycle
ActionLifecycleException
public Message process(Message message)
message
-
public void notifyOK(Message message)
public void notifyError(Message message, java.lang.Throwable th)
@Deprecated public java.lang.String messageAsString(Message message) throws MessageDeliverException
MessageDeliverException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |