@ManagedResource(description="MLLP Producer") public class MllpTcpClientProducer extends org.apache.camel.support.DefaultProducer implements Runnable
| Constructor and Description |
|---|
MllpTcpClientProducer(MllpEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection() |
protected void |
doStart() |
protected void |
doStop() |
MllpConfiguration |
getConfiguration() |
String |
getConnectionAddress() |
MllpEndpoint |
getEndpoint() |
Date |
getLastActivityTime() |
void |
process(org.apache.camel.Exchange exchange) |
void |
resetConnection() |
void |
run()
Check for idle connection
|
createExchange, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic MllpTcpClientProducer(MllpEndpoint endpoint) throws SocketException
SocketException@ManagedAttribute(description="Last activity time") public Date getLastActivityTime()
@ManagedAttribute(description="Connection") public String getConnectionAddress()
@ManagedOperation(description="Close Connection") public void closeConnection()
@ManagedOperation(description="Reset Connection") public void resetConnection()
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultProducerExceptionpublic void process(org.apache.camel.Exchange exchange)
throws MllpException
process in interface org.apache.camel.ProcessorMllpExceptionpublic MllpEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultProducerpublic MllpConfiguration getConfiguration()
Apache Camel