org.eclipse.swordfish.internal.core.interceptor
Class EndpointResolverInterceptor
java.lang.Object
org.eclipse.swordfish.internal.core.interceptor.EndpointResolverInterceptor
- All Implemented Interfaces:
- Interceptor, ServiceResolverHolder, org.springframework.beans.factory.InitializingBean
public class EndpointResolverInterceptor
- extends java.lang.Object
- implements Interceptor, ServiceResolverHolder, org.springframework.beans.factory.InitializingBean
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TARGETTED_TO_EXTERNAL_ENDPOINT_ME_PROPERTY
public static final java.lang.String TARGETTED_TO_EXTERNAL_ENDPOINT_ME_PROPERTY
- See Also:
- Constant Field Values
EndpointResolverInterceptor
public EndpointResolverInterceptor()
process
public void process(javax.jbi.messaging.MessageExchange messageExchange)
throws SwordfishException
- Specified by:
process in interface Interceptor
- Parameters:
messageExchange - the messageExchange to be processed
- Throws:
SwordfishException
getNmr
public org.apache.servicemix.nmr.api.NMR getNmr()
setNmr
public void setNmr(org.apache.servicemix.nmr.api.NMR nmr)
getComponentRegistry
public org.apache.servicemix.jbi.runtime.ComponentRegistry getComponentRegistry()
setComponentRegistry
public void setComponentRegistry(org.apache.servicemix.jbi.runtime.ComponentRegistry componentRegistry)
getServiceResolver
public ServiceResolver getServiceResolver()
- Specified by:
getServiceResolver in interface ServiceResolverHolder
setServiceResolver
public void setServiceResolver(ServiceResolver serviceResolver)
- Specified by:
setServiceResolver in interface ServiceResolverHolder
getProperties
public java.util.Map<java.lang.String,?> getProperties()
- Description copied from interface:
Interceptor
- By using this method the implementation class can supply properties
associated with the current interceptor e.g priority. These properties
are merged with the properties provided at OSGI service registration
and via Swordfish configuration. Details see at
FilterStrategy#filter(java.util.List, ReadOnlyRegistry, java.util.List)
and
SortingStrategy#sort(java.util.List, ReadOnlyRegistry, java.util.List).
- Specified by:
getProperties in interface Interceptor
- Returns:
- Properties in a Map of String keys and arbitrary values.
getId
public java.lang.String getId()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception