package com.pgf.mqspring.service.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.springframework.stereotype.Service; import com.pgf.mqspring.model.QlPoc01Test2Request; import com.pgf.mqspring.model.QlPoc01Test2Response; import com.pgf.mqspring.service.JmsSendService; @Service public class JmsSendServiceImpl implements JmsSendService { @Override public QlPoc01Test2Response jmsSend(QlPoc01Test2Request request, String msg) { // JMSレスポンスを含めて編集 List> mqcih = new ArrayList>(); HashMap mqcihMap = new HashMap(); mqcihMap.put("Function", "MQPUT"); mqcih.add(mqcihMap); return new QlPoc01Test2Response(request.getId(), msg, mqcih); } }