org.apereo.cas.ticket.registry.JmsTicketRegistryPublisher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cas-server-support-jms-ticket-registry Show documentation
Show all versions of cas-server-support-jms-ticket-registry Show documentation
cas-server-support-jms-ticket-registry
package org.apereo.cas.ticket.registry;
import org.apereo.cas.ticket.registry.queue.BaseMessageQueueCommand;
/**
* This is {@link JmsTicketRegistryPublisher}.
*
* @author Misagh Moayyed
* @since 6.1.0
*/
@FunctionalInterface
public interface JmsTicketRegistryPublisher {
/**
* Queue destination name.
*/
String QUEUE_DESTINATION = "CasJmsTicketRegistry";
/**
* No Op jms ticket registry publisher.
*
* @return the jms ticket registry publisher
*/
static JmsTicketRegistryPublisher noOp() {
return cmd -> {
};
}
/**
* Publish message to queue.
*
* @param cmd the cmd
*/
void publishMessageToQueue(BaseMessageQueueCommand cmd);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy