public abstract class JMSInputAdapter
extends java.lang.Object
implements com.espertech.esper.runtime.client.util.InputAdapter, com.espertech.esper.runtime.client.util.AdapterSPI
Modifier and Type | Field and Description |
---|---|
protected JMSMessageUnmarshaller |
jmsMessageUnmarshaller
Unmarshaller for JMS messages.
|
protected com.espertech.esper.runtime.internal.kernel.service.EPRuntimeSPI |
runtime
Engine services.
|
protected long |
startTime
Start time.
|
protected com.espertech.esper.runtime.client.util.AdapterStateManager |
stateManager
Manages adapter state.
|
Constructor and Description |
---|
JMSInputAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
JMSMessageUnmarshaller |
getJmsMessageUnmarshaller()
Returns the unmarshaller.
|
com.espertech.esper.runtime.client.EPRuntime |
getRuntime() |
com.espertech.esper.runtime.client.util.AdapterState |
getState() |
void |
pause() |
void |
resume() |
void |
setJmsMessageUnmarshaller(JMSMessageUnmarshaller jmsMessageUnmarshaller)
Sets the unmarshaller to use.
|
void |
setRuntime(com.espertech.esper.runtime.client.EPRuntime runtime) |
void |
start() |
void |
stop() |
protected final com.espertech.esper.runtime.client.util.AdapterStateManager stateManager
protected com.espertech.esper.runtime.internal.kernel.service.EPRuntimeSPI runtime
protected long startTime
protected JMSMessageUnmarshaller jmsMessageUnmarshaller
public JMSMessageUnmarshaller getJmsMessageUnmarshaller()
public void setJmsMessageUnmarshaller(JMSMessageUnmarshaller jmsMessageUnmarshaller)
jmsMessageUnmarshaller
- is the unmarshaller to usepublic com.espertech.esper.runtime.client.EPRuntime getRuntime()
getRuntime
in interface com.espertech.esper.runtime.client.util.AdapterSPI
public void setRuntime(com.espertech.esper.runtime.client.EPRuntime runtime)
setRuntime
in interface com.espertech.esper.runtime.client.util.AdapterSPI
public void start() throws com.espertech.esper.common.client.EPException
start
in interface com.espertech.esper.runtime.client.util.Adapter
com.espertech.esper.common.client.EPException
public void pause() throws com.espertech.esper.common.client.EPException
pause
in interface com.espertech.esper.runtime.client.util.Adapter
com.espertech.esper.common.client.EPException
public void resume() throws com.espertech.esper.common.client.EPException
resume
in interface com.espertech.esper.runtime.client.util.Adapter
com.espertech.esper.common.client.EPException
public void stop() throws com.espertech.esper.common.client.EPException
stop
in interface com.espertech.esper.runtime.client.util.Adapter
com.espertech.esper.common.client.EPException
public void destroy() throws com.espertech.esper.common.client.EPException
destroy
in interface com.espertech.esper.runtime.client.util.Adapter
com.espertech.esper.common.client.EPException
public com.espertech.esper.runtime.client.util.AdapterState getState()
getState
in interface com.espertech.esper.runtime.client.util.Adapter