public class EventProducerInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
| Constructor and Description |
|---|
EventProducerInterceptor(MessageToEventMapper mapper,
Queue<org.talend.esb.sam.common.event.Event> queue)
Instantiates a new event producer interceptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleMessage(org.apache.cxf.message.Message message) |
void |
setHandler(org.talend.esb.sam.common.spi.EventHandler handler)
Sets the handler.
|
public EventProducerInterceptor(MessageToEventMapper mapper, Queue<org.talend.esb.sam.common.event.Event> queue)
mapper - the mapperqueue - the queuepublic void setHandler(org.talend.esb.sam.common.spi.EventHandler handler)
handler - the new handlerpublic void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.FaultCopyright © 2011–2016 Talend Inc.. All rights reserved.