Class HazelcastOutboundGateway
java.lang.Object
org.frankframework.management.gateway.HazelcastOutboundGateway
- All Implemented Interfaces:
OutboundGateway, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.IntegrationPattern
public class HazelcastOutboundGateway
extends Object
implements org.springframework.context.ApplicationContextAware, OutboundGateway, org.springframework.context.SmartLifecycle, org.springframework.beans.factory.DisposableBean
-
Nested Class Summary
Nested classes/interfaces inherited from interface OutboundGateway
OutboundGateway.ClusterMember -
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()@NonNull List<OutboundGateway.ClusterMember> boolean<I> voidsendAsyncMessage(org.springframework.messaging.Message<I> in) I in, no reply<I,O> @NonNull org.springframework.messaging.Message <O> sendSyncMessage(org.springframework.messaging.Message<I> in) I in O out.voidsetApplicationContext(@NonNull org.springframework.context.ApplicationContext applicationContext) voidstart()voidstop()Remove old JWK when no longer needed.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OutboundGateway
getIntegrationPatternTypeMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, isPauseable, stop
-
Constructor Details
-
HazelcastOutboundGateway
public HazelcastOutboundGateway() -
HazelcastOutboundGateway
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(@NonNull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()Remove old JWK when no longer needed.- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
sendSyncMessage
public <I,O> @NonNull org.springframework.messaging.Message<O> sendSyncMessage(org.springframework.messaging.Message<I> in) Description copied from interface:OutboundGatewayI in O out. May not be null.- Specified by:
sendSyncMessagein interfaceOutboundGateway- Parameters:
in- Message to send- Returns:
- Response message
-
getMembers
- Specified by:
getMembersin interfaceOutboundGateway
-
sendAsyncMessage
public <I> void sendAsyncMessage(org.springframework.messaging.Message<I> in) Description copied from interface:OutboundGatewayI in, no reply- Specified by:
sendAsyncMessagein interfaceOutboundGateway- Parameters:
in- Message to send
-