불필요 조건문 제거
This commit is contained in:
@@ -462,25 +462,23 @@ public class SocketProcess extends DefaultProcess {
|
|||||||
|
|
||||||
String returnType = getReturnType(this.reqEaiMsg);
|
String returnType = getReturnType(this.reqEaiMsg);
|
||||||
|
|
||||||
if( STDMessageKeys.SEND_RECV_CD_RECV.equals(returnType) ) { //소켓이고 비동기Outbound인데, 표준메세지 요청구분가 R은 A-S 패턴의 응답 일떄만, 아래 로직(메세지부를 제거하고 보냄.)
|
if (STDMessageKeys.SEND_RECV_CD_RECV.equals(returnType)) { // 소켓이고 비동기Outbound인데, 표준메세지 요청구분가 R은 A-S 패턴의 응답
|
||||||
|
// 일떄만, 아래 로직(메세지부를 제거하고 보냄.)
|
||||||
|
|
||||||
StandardMessage standardMessage = this.reqEaiMsg.getStandardMessage();
|
StandardMessage standardMessage = this.reqEaiMsg.getStandardMessage();
|
||||||
|
|
||||||
final String MESSAGE_PART = "Message";
|
final String MESSAGE_PART = "Message";
|
||||||
final String MESSAGE_PART_HEADER_PART = "Message.Msg_Header";
|
final String MESSAGE_PART_HEADER_PART = "Message.Msg_Header";
|
||||||
final String MESSAGE_PART_BODY_PART = "Message.Msg_Body";
|
final String MESSAGE_PART_BODY_PART = "Message.Msg_Body";
|
||||||
|
|
||||||
if (com.eactive.eai.adapter.Keys.IF_STANDARD.equals(this.adptrMsgPtrnCd)) {
|
|
||||||
|
|
||||||
StandardItem messagePart = standardMessage.findItem(MESSAGE_PART);
|
|
||||||
messagePart.setHidden(true);
|
|
||||||
messagePart.setSize(0);
|
|
||||||
|
|
||||||
StandardItem messageHeaderPart = standardMessage.findItem(MESSAGE_PART_HEADER_PART);
|
StandardItem messagePart = standardMessage.findItem(MESSAGE_PART);
|
||||||
messageHeaderPart.setSize(0);
|
messagePart.setHidden(true);
|
||||||
StandardItem messageBodyPart = standardMessage.findItem(MESSAGE_PART_BODY_PART);
|
messagePart.setSize(0);
|
||||||
messageBodyPart.setSize(0);
|
|
||||||
}
|
StandardItem messageHeaderPart = standardMessage.findItem(MESSAGE_PART_HEADER_PART);
|
||||||
|
messageHeaderPart.setSize(0);
|
||||||
|
StandardItem messageBodyPart = standardMessage.findItem(MESSAGE_PART_BODY_PART);
|
||||||
|
messageBodyPart.setSize(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.reqObject = makeStandardMessageData(this.reqEaiMsg, this.adptrMsgType, this.reqObject, this.outboundCharset);
|
this.reqObject = makeStandardMessageData(this.reqEaiMsg, this.adptrMsgType, this.reqObject, this.outboundCharset);
|
||||||
|
|||||||
Reference in New Issue
Block a user