All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.icthh.xm.commons.topic.message.MessageService Maven / Gradle / Ivy

There is a newer version: 4.0.17
Show newest version
package com.icthh.xm.commons.topic.message;

import com.icthh.xm.commons.lep.LogicExtensionPoint;
import com.icthh.xm.commons.lep.spring.LepService;
import com.icthh.xm.commons.logging.aop.IgnoreLogginAspect;
import com.icthh.xm.commons.topic.domain.TopicConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@Service
@Transactional
@IgnoreLogginAspect
@LepService(group = "topic")
public class MessageService {

    @LogicExtensionPoint(value = "OnMessage", resolver = MessageTypeKeyResolver.class)
    public void onMessage(String topicMessage, TopicConfig topicConfig) {
        log.error("No handlers for event: {} and topic config: {} found", topicMessage, topicConfig);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy