Class AsyncCapableServiceImpl
java.lang.Object
org.kuali.rice.ksb.messaging.serviceproxies.AsyncCapableServiceImpl
- All Implemented Interfaces:
org.kuali.rice.ksb.api.messaging.AsyncCapableService
public class AsyncCapableServiceImpl
extends Object
implements org.kuali.rice.ksb.api.messaging.AsyncCapableService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteCall(QName qname, String applicationId, String value1, String value2, org.kuali.rice.ksb.api.messaging.CallMetadata callMetadata, Runnable synchronousCall) Executes a call.org.kuali.rice.core.api.config.property.ConfigurationServiceorg.kuali.rice.ksb.api.bus.ServiceBusvoidsetConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService) voidsetMessageQueueService(MessageQueueService messageQueueService) voidsetServiceBus(org.kuali.rice.ksb.api.bus.ServiceBus serviceBus)
-
Constructor Details
-
AsyncCapableServiceImpl
public AsyncCapableServiceImpl()
-
-
Method Details
-
executeCall
public void executeCall(QName qname, String applicationId, String value1, String value2, org.kuali.rice.ksb.api.messaging.CallMetadata callMetadata, Runnable synchronousCall) Executes a call. If messaging is on the call will be executed via the ksb messaging framework using value1, value2, and the callMetadata. If messaging is off then the call will be executed immediately by invoking the synchronousCall. It will NOT use the ksb messaging framework. If messaging is on and messaging delivery synchronous is off then the messaging will be persisted and executed asynchronously after the current database transaction is committed. It will use the ksb messaging framework using value1, value2, and the callMetadata. If messaging is on and messaging delivery synchronous is on then the messaging will be persisted and executed immediately and synchronously. It will use the ksb messaging framework using value1, value2, and the callMetadata.- Specified by:
executeCallin interfaceorg.kuali.rice.ksb.api.messaging.AsyncCapableService
-
getServiceBus
public org.kuali.rice.ksb.api.bus.ServiceBus getServiceBus() -
setServiceBus
public void setServiceBus(org.kuali.rice.ksb.api.bus.ServiceBus serviceBus) -
getMessageQueueService
-
setMessageQueueService
-
getConfigurationService
public org.kuali.rice.core.api.config.property.ConfigurationService getConfigurationService() -
setConfigurationService
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService)
-