|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.transport.AbstractConnector org.openspaces.esb.mule.queue.OpenSpacesQueueConnector
public class OpenSpacesQueueConnector
An OS queue connector. Holding the actual GigaSpace
instance that will
be used to communicate with the Space by the dispatcher, receiver, and requestor.
If the giga space reference is defined (setGigaSpace(String)
, will use it to find the
GigaSpace
instance defined. If it is not defined, will try to get
GigaSpace instances from Spring and if there is only one defined, will used it.
Also holds other attributes related to the written and read entry. Such as if the entry will be a fifo one, and if it will be persisted.
Field Summary | |
---|---|
static String |
OS_QUEUE
|
Fields inherited from class org.mule.transport.AbstractConnector |
---|
connected, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatchers, disposed, exceptionListener, initialised, logger, muleContext, name, numberOfConcurrentTransactedReceivers, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, started, startOnConnect |
Fields inherited from interface org.mule.api.transport.Connector |
---|
INT_VALUE_NOT_SET |
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
OpenSpacesQueueConnector()
|
Method Summary | |
---|---|
protected void |
doConnect()
|
protected void |
doDisconnect()
|
protected void |
doDispose()
|
protected void |
doInitialise()
|
protected void |
doStart()
|
protected void |
doStop()
|
ApplicationContext |
getApplicationContext()
|
String |
getGigaSpace()
Returns the GigaSpace bean id reference to be retrieved from Spring. |
GigaSpace |
getGigaSpaceObj()
|
String |
getProtocol()
|
protected org.mule.api.transport.MessageReceiver |
getReceiverByEndpoint(org.mule.api.endpoint.EndpointURI endpointUri)
|
long |
getTimeout()
The timeout waiting for a message on the queue in milliseconds. |
boolean |
isFifo()
Should the entries written to the virtualized queue be fifo or not. |
boolean |
isPersistent()
Should the entries written to the Space will be persistent to a backend storage or not. |
void |
setApplicationContext(ApplicationContext applicationContext)
Injected by Spring. |
void |
setFifo(boolean fifo)
Should the entries written to the virtualized queue be fifo or not. |
void |
setGigaSpace(String gigaSpaceRef)
Sets the GigaSpace bean id reference to be retrieved from Spring. |
void |
setPersistent(boolean persistent)
Should the entries written to the Space will be persistent to a backend storage or not. |
void |
setTimeout(long timeout)
The timeout waiting for a message on the queue in milliseconds. |
Methods inherited from class org.mule.transport.AbstractConnector |
---|
checkDisposed, connect, createReceiver, destroyReceiver, disconnect, dispatch, dispose, disposeDispatchers, disposeReceivers, disposeRequesters, disposeWorkManagers, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getExceptionListener, getMaxDispatchersActive, getMaxRequestersActive, getMessageAdapter, getMuleContext, getName, getNumberOfConcurrentTransactedReceivers, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, handleException, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isResponseEnabled, isStarted, isSyncEnabled, isValidateConnections, lookupReceiver, registerListener, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, send, setConnected, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherThreadingProfile, setDynamicNotification, setExceptionListener, setMaxDispatchersActive, setMaxRequestersActive, setMuleContext, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, start, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStarted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String OS_QUEUE
Constructor Detail |
---|
public OpenSpacesQueueConnector()
Method Detail |
---|
public String getProtocol()
getProtocol
in interface org.mule.api.transport.Connector
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
GigaSpace
instance from.
setApplicationContext
in interface ApplicationContextAware
BeansException
public void setGigaSpace(String gigaSpaceRef)
public String getGigaSpace()
public boolean isFifo()
false
.
public void setFifo(boolean fifo)
false
.
public boolean isPersistent()
false
(as many times a backup space is enough).
public void setPersistent(boolean persistent)
false
(as many times a backup space is enough).
public long getTimeout()
public void setTimeout(long timeout)
protected void doInitialise() throws org.mule.api.lifecycle.InitialisationException
doInitialise
in class org.mule.transport.AbstractConnector
org.mule.api.lifecycle.InitialisationException
protected void doDispose()
doDispose
in class org.mule.transport.AbstractConnector
protected void doStart() throws org.mule.api.MuleException
doStart
in class org.mule.transport.AbstractConnector
org.mule.api.MuleException
protected void doStop() throws org.mule.api.MuleException
doStop
in class org.mule.transport.AbstractConnector
org.mule.api.MuleException
protected void doConnect() throws Exception
doConnect
in class org.mule.transport.AbstractConnector
Exception
protected void doDisconnect() throws Exception
doDisconnect
in class org.mule.transport.AbstractConnector
Exception
public ApplicationContext getApplicationContext()
public GigaSpace getGigaSpaceObj()
protected org.mule.api.transport.MessageReceiver getReceiverByEndpoint(org.mule.api.endpoint.EndpointURI endpointUri) throws org.mule.api.endpoint.EndpointException
org.mule.api.endpoint.EndpointException
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |