Package org.grails.plugin.platform.events.publisher

Examples of org.grails.plugin.platform.events.publisher.TrackableNullResult



    public Message<?> preSend(Message<?> message, MessageChannel messageChannel) {
        EventMessage evt = (EventMessage)message.getHeaders().get(EventsPublisherGateway.EVENT_OBJECT_KEY);
        if (evt != null) {
            ((PollableChannel) message.getHeaders().getReplyChannel()).send(new GenericMessage<TrackableNullResult>(new TrackableNullResult()));
        }
        return message;
    }
View Full Code Here


                message;
        res = super.handleRequestMessage(_message);
        if (res == null) {
            //Return TRUE if GORM event to bypass cancel
            //Else return FALSE for other events (never returning true)
            return new TrackableNullResult();
        }
        return res;
    }
View Full Code Here

TOP

Related Classes of org.grails.plugin.platform.events.publisher.TrackableNullResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.