Uses of Interface
com.onenetwork.platform.integ.msg.Message
Package | Description |
---|---|
com.onenetwork.platform.common | |
com.onenetwork.platform.integ.edi |
Used for parsing, processing and generating EDI messages in X12 and/or EDIFACT format.
|
com.onenetwork.platform.integ.fixlen |
Service for parsing "fixed-length format" files, i.e.
|
com.onenetwork.platform.integ.msg |
APIs for using Platform's message queuing system.
|
com.onenetwork.platform.integ.oagis |
-
Uses of Message in com.onenetwork.platform.common
Classes in com.onenetwork.platform.common that implement Message Modifier and Type Class Description class
Message
A model containing the metadata related to message, the payload itself is stored in the MessageStorageService. -
Uses of Message in com.onenetwork.platform.integ.edi
Methods in com.onenetwork.platform.integ.edi that return Message Modifier and Type Method Description Message
EDIMessage. getMessage()
Message
EDIMessagingContext. getMessage()
Methods in com.onenetwork.platform.integ.edi with parameters of type Message Modifier and Type Method Description void
EDIMessage. setMessage(Message message)
void
EDIMessagingContext. setMessage(Message message)
boolean
EDIFwdListener. shouldForward(Message ediMessage, EdiForward ediForward)
Method which returns a boolean to indicate whether the Edi message should be forwarded. -
Uses of Message in com.onenetwork.platform.integ.fixlen
Methods in com.onenetwork.platform.integ.fixlen with parameters of type Message Modifier and Type Method Description MessageDetail
BaseFixLenOutboundGenerator. createMessageDetailEntry(java.lang.String recordIdentifier, java.lang.String error, java.lang.String primaryRefTransNo, java.lang.String modelType, java.lang.String rawData, Message message, java.util.List<MessageDetail> messageDetails, PlatformUserContext context)
This method creates a messageDetail JAXB for the parameters passed.MessageDetail
BaseInboundFixLenProcessor. createMessageDetailEntry(java.lang.String recordIdentifier, java.lang.String error, java.lang.String primaryRefTransNo, java.lang.String modelType, java.lang.String rawData, Message message, java.util.List<MessageDetail> messageDetails, PlatformUserContext context)
This method creates a messageDetail JAXB for the parameters passed.void
BaseInboundFixLenProcessor. handleResults(TaskResult taskResult, Message message, PlatformUserContext context)
TaskResult
BaseInboundFixLenProcessor. process(Message message, GridTaskContext gridTaskContext, PlatformUserContext context)
abstract ModelList
BaseInboundFixLenProcessor. processFixLenRows(java.util.List<FixLenRow> fixLenRows, Message message, PlatformUserContext context)
Your implementation should convert the given Listto models, write them (e.g. -
Uses of Message in com.onenetwork.platform.integ.msg
Methods in com.onenetwork.platform.integ.msg that return Message Modifier and Type Method Description Message
InboundProcessingEvent. getMessage()
Returns theMessage
Message
MessageTransformContext. getMessage()
Message
MessageQueueService. newMessage()
Creates a new message in memory which can be enqueued viaMessageQueueService.enqueue(Message, PlatformUserContext)
Message
OutboundMessageService. writeModelBasedOutbound(ModelOutboundInterfaceWriteRequest writeRequest, PlatformUserContext context)
Generates an outbound Message for the given OutboundInterface into the destination specified by OutboundQueueName for the list of models passed.Message
OutboundMessageService. writeNetChangeOutbound(OutboundInterfaceWriteRequest writeRequest, PlatformUserContext context)
Generates a NetChange Message for the given OutboundInterface into the destination specified by OutboundQueueName.Message
OutboundMessageService. writeSysIdBasedOutbound(SysIdOutboundInterfaceWriteRequest writeRequest, PlatformUserContext context)
Generates an outbound Message for the given OutboundInterface into the destination specified by OutboundQueueName for the list of sysIds passed.Methods in com.onenetwork.platform.integ.msg that return types with arguments of type Message Modifier and Type Method Description java.util.List<Message>
OutboundMessageService. writeModelBasedOutbound(java.util.List<ModelOutboundInterfaceWriteRequest> writeRequests, PlatformUserContext context)
Generates an outbound Message for the given OutboundInterface into the destination specified by OutboundQueueName for the list of models passed.java.util.List<Message>
OutboundMessageService. writeNetChangeOutbound(java.util.List<OutboundInterfaceWriteRequest> writeRequests, PlatformUserContext context)
Generates a NetChange Message for the given OutboundInterface into the destination specified by OutboundQueueName.java.util.List<Message>
OutboundMessageService. writeSysIdBasedOutbound(java.util.List<SysIdOutboundInterfaceWriteRequest> writeRequests, PlatformUserContext context)
Generates an outbound Message for the given OutboundInterface into the destination specified by OutboundQueueName for the list of sysIds passed.Methods in com.onenetwork.platform.integ.msg with parameters of type Message Modifier and Type Method Description MessageDetail
MessageDetailService. createMessageDetail(java.lang.String strRecordIdentifier, java.lang.String strErrorMessage, java.lang.String strPrimaryRefTransNumber, java.lang.String strModelType, java.lang.String strRawData, Message msg, java.util.List<MessageDetail> messageDetails, PlatformUserContext pltUsrContext)
Checks the external reference configuration to see if MessageDetail is enabled for the given message.void
MessageQueueService. enqueue(Message message, PlatformUserContext context)
Enqueues a message into the owning queue of Message.static java.io.File
AbstractInboundProcessor. getErrorsFile(Message msg)
Deprecated.UseAbstractInboundProcessor.getErrorsResource(Message)
to get error storage resource which is independent of storage repositorystatic SharedStorageServiceResource
AbstractInboundProcessor. getErrorsResource(Message msg)
MessageDetailLevel
MessageDetailService. getMessageDetailLevel(Message message, PlatformUserContext pltUsrContext)
This method is used for identifying whether message detail should capture "AllRecords", "ErrorRecordsOnly" or "None" for a queue+interface combination using ExternalReference where ref type is PLT.MessageDetail:Enable.void
AbstractInboundProcessor. handleResults(TaskResult result, Message msg, PlatformUserContext ctx)
void
InboundProcessor. handleResults(TaskResult taskResult, Message message, PlatformUserContext context)
After processing, handles success and error cases, typically by enqueueing a response message.void
MessageHandler. onFailedByGridAdmin(Message message, java.lang.String reason, GridTaskContext ctx, PlatformUserContext context)
If the Message fails due to an issue such as a timeout (i.e.TaskResult
MessageHandler. onMessage(Message message, GridTaskContext ctx, PlatformUserContext context)
This method is called when the Message is ready for processingTaskResult
AbstractInboundProcessor. process(Message msg, GridTaskContext gridCtx, PlatformUserContext ctx)
TaskResult
InboundProcessor. process(Message message, GridTaskContext gridTaskContext, PlatformUserContext context)
Callback from the message queue framework to process an inbound message.TaskResult
MessageDestination. process(Message message, GridTaskContext ctx, PlatformUserContext context)
Process the outbound messageabstract void
AbstractInboundProcessor. processMessage(Message msg, GridTaskContext gridCtx, java.io.File fileForErrors, PlatformUserContext ctx)
Implement this method to process your Message.abstract PlatformUserContext
ContextResolver. resolve(Message message, MsgProcessingContext msgProcessingContext)
Method to resolve the user context based on inbound message and MsgProcessingContextMethod parameters in com.onenetwork.platform.integ.msg with type arguments of type Message Modifier and Type Method Description void
MessageQueueService. markProcessed(java.util.Collection<Message> messages, PlatformUserContext context)
Forcibly marks the given Messages as having been processed without doing any actual processing. -
Uses of Message in com.onenetwork.platform.integ.oagis
Methods in com.onenetwork.platform.integ.oagis that return Message Modifier and Type Method Description Message
OAGISService. createOutboundMessage(ModelOutboundProcessingContext processingContext)
Create outbound message from the OB processing contextMethods in com.onenetwork.platform.integ.oagis with parameters of type Message Modifier and Type Method Description void
OAGISService. enqueueInNewTransaction(Message outboundMessage, PlatformUserContext platformUserContext)
Create outbound message from the OB processing context