public abstract class IfsaListener extends IfsaFacade implements IListener<com.ing.ifsa.IFSAMessage>, IKnowsDeliveryCount<com.ing.ifsa.IFSAMessage>
Modifier and Type | Field and Description |
---|---|
static String |
THREAD_CONTEXT_BIFNAME_KEY |
static String |
THREAD_CONTEXT_ORIGINAL_RAW_MESSAGE_KEY |
log
Modifier | Constructor and Description |
---|---|
protected |
IfsaListener() |
Modifier and Type | Method and Description |
---|---|
protected String |
displayHeaders(com.ing.ifsa.IFSAMessage message) |
Message |
extractMessage(RawMessageWrapper<com.ing.ifsa.IFSAMessage> rawMessage,
Map<String,Object> context)
Extracts message string from raw message.
|
Map<String,Object> |
extractMessageProperties(com.ing.ifsa.IFSAMessage message) |
int |
getDeliveryCount(RawMessageWrapper<com.ing.ifsa.IFSAMessage> rawMessage) |
cleanUpAfterException, closeReplyReceiver, closeService, closeSession, configure, createSender, createSession, getAckMode, getApplicationId, getExpiry, getExpiry, getLogPrefix, getMessageProtocol, getMessageProtocolEnum, getMessagingSource, getName, getPhysicalDestinationName, getProviderSelector, getReplyReceiver, getServiceId, getServiceQueue, getServiceReceiver, getTimeOut, isJmsTransacted, isProvider, isRequestor, isSessionsArePooled, openService, sendMessage, sendReply, setAckMode, setAcknowledgeMode, setApplicationId, setMessageProtocol, setName, setServiceId, setTimeOut, toString, useSelectorsForProviders
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
afterMessageProcessed, close, configure, open
getName, setName
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
getDomain
public static final String THREAD_CONTEXT_ORIGINAL_RAW_MESSAGE_KEY
public static final String THREAD_CONTEXT_BIFNAME_KEY
protected String displayHeaders(com.ing.ifsa.IFSAMessage message)
public Map<String,Object> extractMessageProperties(com.ing.ifsa.IFSAMessage message)
public Message extractMessage(@Nonnull RawMessageWrapper<com.ing.ifsa.IFSAMessage> rawMessage, @Nonnull Map<String,Object> context) throws ListenerException
extractMessage
in interface IListener<com.ing.ifsa.IFSAMessage>
rawMessage
- The RawMessageWrapper
from which to extract the Message
.context
- Context to populate. Either a PipeLineSession
or a Map
threadContext depending on caller.ListenerException
public int getDeliveryCount(RawMessageWrapper<com.ing.ifsa.IFSAMessage> rawMessage)
getDeliveryCount
in interface IKnowsDeliveryCount<com.ing.ifsa.IFSAMessage>
Copyright © 2023 Frank!Framework. All rights reserved.