org.skyscreamer.nevado.jms.util.MessageIdUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nevado-jms Show documentation
Show all versions of nevado-jms Show documentation
JMS Provider for Amazon's cloud services (uses SQS/SNS)
package org.skyscreamer.nevado.jms.util;
import java.util.UUID;
/**
* Generate nevado-specific message ID's when SQS message ID's aren't sufficient
*
* @author Carter Page
*/
public class MessageIdUtil {
public static String createMessageId() {
return "ID:nevado-" + UUID.randomUUID().toString();
}
}