|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.talend.esb.sam.agent.eventproducer.EventProducerInterceptor
public class EventProducerInterceptor
Maps the CXF Message to an Event and sends Event to Queue.
| Constructor Summary | |
|---|---|
EventProducerInterceptor(MessageToEventMapper mapper,
Queue<org.talend.esb.sam.common.event.Event> queue)
Instantiates a new event producer interceptor. |
|
| Method Summary | |
|---|---|
void |
handleMessage(org.apache.cxf.message.Message message)
|
void |
setHandler(org.talend.esb.sam.common.spi.EventHandler handler)
Sets the handler. |
| Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
|---|
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventProducerInterceptor(MessageToEventMapper mapper,
Queue<org.talend.esb.sam.common.event.Event> queue)
mapper - the mapperqueue - the queue| Method Detail |
|---|
public void setHandler(org.talend.esb.sam.common.spi.EventHandler handler)
handler - the new handler
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Fault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||