// Path: koper-demo/src/main/java/koper/demo/message/entity/Member.java
// public class Member {
// 
//     private Integer id;
// 
//     private String name;
// 
//     private String phoneNo;
// 
//     public Integer getId() {
//         return id;
//     }
// 
//     public void setId(Integer id) {
//         this.id = id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getPhoneNo() {
//         return phoneNo;
//     }
// 
//     public void setPhoneNo(String phoneNo) {
//         this.phoneNo = phoneNo;
//     }
// }
// 
// Path: koper-demo/src/main/java/koper/demo/message/mapper/MemberMapper.java
// public interface MemberMapper {
// 
//     Integer createMember(Member member);
// 
// }
// 
// Path: koper-demo/src/main/java/koper/demo/message/service/MemberService.java
// public interface MemberService {
// 
//     void signup(Member member);
// 
// }
// 
// Path: koper-core/src/main/java/koper/sender/MessageSender.java
// public interface MessageSender {
// 
//     void send(String topic, String msg);
// 
//     void send(String topic, String key, String msg);
// 
//     void send(String topic, Object msg);
// 
//     void send(String topic, String key, Object msg);
// }


import koper.demo.message.entity.Member;
import koper.demo.message.mapper.MemberMapper;
import koper.demo.message.service.MemberService;
import koper.sender.MessageSender;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
package koper.demo.message.service.impl;


/**
 * @author caie
 */
@Service
public class MemberServiceImpl implements MemberService {

    @Autowired
    private MemberMapper memberMapper;

    private static final String MEMBER_SIGNUP_TOPIC = "koper.demo.message.notifyMemberAfterSignup";

    @Autowired
    private MessageSender messageSender;

// Path: koper-demo/src/main/java/koper/demo/message/entity/Member.java
// public class Member {
// 
//     private Integer id;
// 
//     private String name;
// 
//     private String phoneNo;
// 
//     public Integer getId() {
//         return id;
//     }
// 
//     public void setId(Integer id) {
//         this.id = id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getPhoneNo() {
//         return phoneNo;
//     }
// 
//     public void setPhoneNo(String phoneNo) {
//         this.phoneNo = phoneNo;
//     }
// }
// 
// Path: koper-demo/src/main/java/koper/demo/message/mapper/MemberMapper.java
// public interface MemberMapper {
// 
//     Integer createMember(Member member);
// 
// }
// 
// Path: koper-demo/src/main/java/koper/demo/message/service/MemberService.java
// public interface MemberService {
// 
//     void signup(Member member);
// 
// }
// 
// Path: koper-core/src/main/java/koper/sender/MessageSender.java
// public interface MessageSender {
// 
//     void send(String topic, String msg);
// 
//     void send(String topic, String key, String msg);
// 
//     void send(String topic, Object msg);
// 
//     void send(String topic, String key, Object msg);
// }


// Path: koper-demo/src/main/java/koper/demo/message/service/impl/MemberServiceImpl.java
import koper.demo.message.entity.Member;
import koper.demo.message.mapper.MemberMapper;
import koper.demo.message.service.MemberService;
import koper.sender.MessageSender;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

package koper.demo.message.service.impl;


/**
 * @author caie
 */
@Service
public class MemberServiceImpl implements MemberService {

    @Autowired
    private MemberMapper memberMapper;

    private static final String MEMBER_SIGNUP_TOPIC = "koper.demo.message.notifyMemberAfterSignup";

    @Autowired
    private MessageSender messageSender;

    public void signup(Member member) {