Class HL7Processor
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.hl7.core.HL7Processor
-
- All Implemented Interfaces:
org.apache.synapse.inbound.InboundResponseSender
public class HL7Processor extends Object implements org.apache.synapse.inbound.InboundResponseSender
Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. WSO2 Inc. licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-
Constructor Summary
Constructors Constructor Description HL7Processor(Map<String,Object> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getInboundParameterMap()
boolean
isAutoAck()
void
processError(MLLPContext mllpContext, Exception ex)
void
processRequest(MLLPContext mllpContext)
HL7 Request Processing logicvoid
sendBack(org.apache.synapse.MessageContext messageContext)
-
-
-
Method Detail
-
processRequest
public void processRequest(MLLPContext mllpContext) throws Exception
HL7 Request Processing logic- Parameters:
mllpContext
-- Throws:
Exception
- - catch any generic exceptions or else I/O Reactor may shutdown.
-
processError
public void processError(MLLPContext mllpContext, Exception ex)
-
sendBack
public void sendBack(org.apache.synapse.MessageContext messageContext)
- Specified by:
sendBack
in interfaceorg.apache.synapse.inbound.InboundResponseSender
-
isAutoAck
public boolean isAutoAck()
-
-