@Override
    public String getTicketId() {
        return this.ticket.getId();
    }
This is {@link AddTicketMessageQueueCommand}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/registry/pubsub/commands/AddTicketMessageQueueCommand.java