org.apache.servicemix.jms
Class JmsComponent
java.lang.Object
org.apache.servicemix.common.AsyncBaseLifeCycle
org.apache.servicemix.common.DefaultComponent
org.apache.servicemix.jms.JmsComponent
- All Implemented Interfaces:
- javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle, ServiceMixComponent
public class JmsComponent
- extends DefaultComponent
JMS JBI binding component
| Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
channel, component, consumerExecutor, container, context, correlationId, currentState, executorFactory, INITIALIZED, knownExchanges, mbeanName, poller, polling, providerExecutor, running, transactionManager, workManagerCreated |
| Methods inherited from class org.apache.servicemix.common.DefaultComponent |
addEndpoint, asList, createRegistry, doShutDown, doStart, doStop, getComponentContext, getComponentName, getEPRElementName, getEPRProtocols, getEPRServiceName, getLifeCycle, getLogger, getRegistry, getServiceDescription, getServiceUnit, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, isKnownEndpoint, removeEndpoint, resolveEndpointReference, validateEndpoint |
| Methods inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
createExecutorFactory, createExtensionMBeanName, exceptionShouldRollbackTx, findExecutorFactory, getContainer, getContext, getCurrentState, getExecutor, getExecutorFactory, getExtensionMBeanName, getKnownExchanges, getSmx3Container, handleExchange, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, onMessageExchange, pollDeliveryChannel, prepareExchange, prepareShutdown, prepareShutdown, processExchange, processExchangeInTx, processExchangeWithoutTx, setComponent, setCurrentState, setExecutor, setExecutorFactory, shutDown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected JmsConfiguration configuration
endpoints
protected JmsEndpointType[] endpoints
JmsComponent
public JmsComponent()
getConfiguredEndpoints
protected java.util.List getConfiguredEndpoints()
- Overrides:
getConfiguredEndpoints in class DefaultComponent
getEndpointClasses
protected java.lang.Class[] getEndpointClasses()
- Overrides:
getEndpointClasses in class DefaultComponent
getConfiguration
public JmsConfiguration getConfiguration()
- Returns:
- Returns the configuration.
setConfiguration
public void setConfiguration(JmsConfiguration configuration)
- Specifies the configuration bean used to set up the JMS connections for the endpoints.
- Parameters:
configuration - the configuration object
getEndpoints
public JmsEndpointType[] getEndpoints()
setEndpoints
public void setEndpoints(JmsEndpointType[] endpoints)
- Specifies the list of endpoints hosted by the component.
- Parameters:
endpoints - the list of endpoints
getKeystoreManager
public java.lang.Object getKeystoreManager()
- Returns:
- the keystoreManager
setKeystoreManager
public void setKeystoreManager(java.lang.Object keystoreManager)
- Parameters:
keystoreManager - the keystoreManager to set
getAuthenticationService
public java.lang.Object getAuthenticationService()
- Returns:
- the authenticationService
setAuthenticationService
public void setAuthenticationService(java.lang.Object authenticationService)
- Parameters:
authenticationService - the authenticationService to set
getExtensionMBean
protected java.lang.Object getExtensionMBean()
throws java.lang.Exception
- Overrides:
getExtensionMBean in class AsyncBaseLifeCycle
- Throws:
java.lang.Exception
createServiceUnitManager
public BaseServiceUnitManager createServiceUnitManager()
- Overrides:
createServiceUnitManager in class DefaultComponent
doInit
protected void doInit()
throws java.lang.Exception
- Overrides:
doInit in class DefaultComponent
- Throws:
java.lang.Exception
getResolvedEPR
protected Endpoint getResolvedEPR(javax.jbi.servicedesc.ServiceEndpoint ep)
throws java.lang.Exception
- Overrides:
getResolvedEPR in class AsyncBaseLifeCycle
- Throws:
java.lang.Exception
Copyright © 2005-2014 FuseSource. All Rights Reserved.