@UriEndpoint(scheme="quickfix", title="QuickFix", syntax="quickfix:configurationName", consumerClass=QuickfixjConsumer.class, label="engine,messaging") public class QuickfixjEndpoint extends org.apache.camel.impl.DefaultEndpoint implements QuickfixjEventListener, org.apache.camel.MultipleConsumersSupport
Modifier and Type | Field and Description |
---|---|
static String |
DATA_DICTIONARY_KEY |
static String |
EVENT_CATEGORY_KEY |
static String |
MESSAGE_TYPE_KEY |
static String |
SESSION_ID_KEY |
Constructor and Description |
---|
QuickfixjEndpoint(QuickfixjEngine engine,
String uri,
org.apache.camel.CamelContext context)
Deprecated.
|
QuickfixjEndpoint(QuickfixjEngine engine,
String uri,
org.apache.camel.Component component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStop() |
void |
ensureInitialized()
Initializing and starts the engine if it wasn't initialized so far.
|
String |
getConfigurationName() |
QuickfixjEngine |
getEngine() |
quickfix.SessionID |
getSessionID() |
boolean |
isLazyCreateEngine() |
boolean |
isMultipleConsumersSupported() |
boolean |
isSingleton() |
void |
onEvent(QuickfixjEventCategory eventCategory,
quickfix.SessionID sessionID,
quickfix.Message message) |
void |
setConfigurationName(String configurationName)
The configFile is the name of the QuickFIX/J configuration to use for the FIX engine (located as a resource found in your classpath).
|
void |
setLazyCreateEngine(boolean lazyCreateEngine)
This option allows to create QuickFIX/J engine on demand.
|
void |
setSessionID(quickfix.SessionID sessionID)
The optional sessionID identifies a specific FIX session.
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public static final String EVENT_CATEGORY_KEY
public static final String SESSION_ID_KEY
public static final String MESSAGE_TYPE_KEY
public static final String DATA_DICTIONARY_KEY
@Deprecated public QuickfixjEndpoint(QuickfixjEngine engine, String uri, org.apache.camel.CamelContext context)
public QuickfixjEndpoint(QuickfixjEngine engine, String uri, org.apache.camel.Component component)
public quickfix.SessionID getSessionID()
public void setSessionID(quickfix.SessionID sessionID)
public String getConfigurationName()
public void setConfigurationName(String configurationName)
public boolean isLazyCreateEngine()
public void setLazyCreateEngine(boolean lazyCreateEngine)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer
in interface org.apache.camel.Endpoint
Exception
public org.apache.camel.Producer createProducer() throws Exception
createProducer
in interface org.apache.camel.Endpoint
Exception
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public void onEvent(QuickfixjEventCategory eventCategory, quickfix.SessionID sessionID, quickfix.Message message) throws Exception
onEvent
in interface QuickfixjEventListener
Exception
public boolean isMultipleConsumersSupported()
isMultipleConsumersSupported
in interface org.apache.camel.MultipleConsumersSupport
public void ensureInitialized() throws Exception
Exception
public QuickfixjEngine getEngine()
Apache Camel