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

org.drools.grid.internal.responsehandlers.AsyncMessageResponseHandler Maven / Gradle / Ivy

There is a newer version: 5.6.0.Final
Show newest version
package org.drools.grid.internal.responsehandlers;

import org.drools.grid.io.Conversation;
import org.drools.grid.io.Message;

public class AsyncMessageResponseHandler extends AbstractBaseResponseHandler {
    

    private volatile Message message;

    public void messageReceived(Conversation conversation,
                                Message message) {
        this.message = message;
        setDone( true );
    }

    public Message getMessage() {
        return this.message;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy