org.ikasan.framework.initiator.messagedriven
Class MessageDrivenInitiatorFactoryBean

java.lang.Object
  extended by org.ikasan.framework.initiator.messagedriven.MessageDrivenInitiatorFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean

public class MessageDrivenInitiatorFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.BeanNameAware

This class helps create Message Driven Initiators

Author:
Ikasan Development Team

Constructor Summary
MessageDrivenInitiatorFactoryBean()
           
 
Method Summary
 Object getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setBeanName(String beanName)
           
 void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
           
 void setDestination(javax.jms.Destination destination)
           
 void setDestinationName(String destinationName)
           
 void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
           
 void setErrorLoggingService(ErrorLoggingService errorLoggingService)
           
 void setEventDeserialiser(JmsMessageEventSerialiser jmsMessageEventSerialiser)
           
 void setExceptionHandler(IkasanExceptionHandler exceptionHandler)
           
 void setExcludedEventService(ExcludedEventService excludedEventService)
           
 void setFlow(Flow flow)
           
 void setIsSubscriptionDurable(boolean isSubscriptionDurable)
          Whether a subscription to jms destination is durable.
 void setModuleName(String moduleName)
           
 void setPayloadFactory(PayloadFactory payloadFactory)
           
 void setPubSubDomain(boolean pubSubDomain)
          Which type of destination to resolve.
 void setRespectPriority(boolean respectPriority)
           
 void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageDrivenInitiatorFactoryBean

public MessageDrivenInitiatorFactoryBean()
Method Detail

setModuleName

public void setModuleName(String moduleName)
Parameters:
moduleName - the moduleName to set

setConnectionFactory

public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
Parameters:
connectionFactory - the connectionFactory to set

setIsSubscriptionDurable

public void setIsSubscriptionDurable(boolean isSubscriptionDurable)
Whether a subscription to jms destination is durable.

Parameters:
isSubscriptionDurable - the boolean value to set

setPubSubDomain

public void setPubSubDomain(boolean pubSubDomain)
Which type of destination to resolve.

Parameters:
pubSubDomain - true for pub/sub domain, false for point-to-point domain.

setDestination

public void setDestination(javax.jms.Destination destination)
Parameters:
destination - the destination to set

setDestinationResolver

public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
Parameters:
destinationResolver - to set

setDestinationName

public void setDestinationName(String destinationName)
Parameters:
destinationName - to set

setTransactionManager

public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Parameters:
transactionManager - the transactionManager to set

setFlow

public void setFlow(Flow flow)
Parameters:
flow - the flow to set

setEventDeserialiser

public void setEventDeserialiser(JmsMessageEventSerialiser jmsMessageEventSerialiser)
Parameters:
jmsMessageEventSerialiser - the jmsMessageEventSerialiser to set

setExceptionHandler

public void setExceptionHandler(IkasanExceptionHandler exceptionHandler)
Parameters:
exceptionHandler - the exceptionHandler to set

setPayloadFactory

public void setPayloadFactory(PayloadFactory payloadFactory)
Parameters:
payloadFactory - the payloadFactory to set

setExcludedEventService

public void setExcludedEventService(ExcludedEventService excludedEventService)
Parameters:
excludedEventService - the excludedEventService to set

setRespectPriority

public void setRespectPriority(boolean respectPriority)
Parameters:
respectPriority - the respectPriority to setS

setErrorLoggingService

public void setErrorLoggingService(ErrorLoggingService errorLoggingService)
Parameters:
errorLoggingService - the errorLoggingService to set

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

setBeanName

public void setBeanName(String beanName)
Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware


Copyright © 2007-2012 Ikasan. All Rights Reserved.