|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.management.BaseLifeCycle
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue
public class SedaQueue
A simple Straight through flow
| Field Summary | |
|---|---|
protected org.apache.servicemix.executors.Executor |
executor
|
protected SedaFlow |
flow
|
protected ComponentNameSpace |
name
|
protected ObjectName |
objectName
|
protected AtomicBoolean |
running
|
protected AtomicBoolean |
started
|
protected String |
subType
|
protected Thread |
thread
|
| Fields inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
currentState, INITIALIZED, listener |
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
|---|
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Constructor Summary | |
|---|---|
SedaQueue(ComponentNameSpace name)
SedaQueue name |
|
| Method Summary | |
|---|---|
void |
enqueue(MessageExchangeImpl me)
Enqueue a Packet for processing |
MBeanAttributeInfo[] |
getAttributeInfos()
Get an array of MBeanAttributeInfo |
int |
getCapacity()
|
ComponentNameSpace |
getComponentNameSpace()
|
String |
getDescription()
Get the description |
String |
getName()
Get the name |
ObjectName |
getObjectName()
|
int |
getSize()
|
String |
getType()
Get the type of the item |
void |
init(SedaFlow seda)
Initialize the Region |
void |
setObjectName(ObjectName objectName)
|
void |
shutDown()
shutDown the Queue |
void |
start()
start processing |
void |
stop()
stop processing |
String |
toString()
|
| Methods inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
firePropertyChanged, getCurrentState, getObjectToManage, getOperationInfos, getSubType, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, setCurrentState, setPropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SedaFlow flow
protected ComponentNameSpace name
protected AtomicBoolean started
protected AtomicBoolean running
protected ObjectName objectName
protected String subType
protected Thread thread
protected org.apache.servicemix.executors.Executor executor
| Constructor Detail |
|---|
public SedaQueue(ComponentNameSpace name)
name - | Method Detail |
|---|
public String getName()
getName in interface MBeanInfoProvidergetName in class BaseLifeCyclepublic String getType()
BaseLifeCycle
getType in interface MBeanInfoProvidergetType in class BaseLifeCyclepublic ComponentNameSpace getComponentNameSpace()
public String getDescription()
public void init(SedaFlow seda)
seda - public int getCapacity()
public int getSize()
public void enqueue(MessageExchangeImpl me)
throws InterruptedException,
javax.jbi.messaging.MessagingException
packet -
InterruptedException
javax.jbi.messaging.MessagingException
public void start()
throws javax.jbi.JBIException
start in interface javax.jbi.management.LifeCycleMBeanstart in class BaseLifeCyclejavax.jbi.JBIException
public void stop()
throws javax.jbi.JBIException
stop in interface javax.jbi.management.LifeCycleMBeanstop in class BaseLifeCyclejavax.jbi.JBIException
public void shutDown()
throws javax.jbi.JBIException
shutDown in interface javax.jbi.management.LifeCycleMBeanshutDown in class BaseLifeCyclejavax.jbi.JBIExceptionpublic String toString()
toString in class Object
public MBeanAttributeInfo[] getAttributeInfos()
throws JMException
getAttributeInfos in interface MBeanInfoProvidergetAttributeInfos in class BaseLifeCycleJMExceptionpublic ObjectName getObjectName()
public void setObjectName(ObjectName objectName)
objectName - The objectName to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||