@Test public void testHasIdPrefixWithoutPrefix() { String myNonId = "something"; assertFalse("string without 'ID:' anywhere should not have been identified as having the prefix", AmqpMessageIdHelper.hasMessageIdPrefix(myNonId)); }
public static boolean hasMessageIdPrefix(String string) { if (string == null) { return false; } return string.startsWith(JMS_ID_PREFIX); }
AmqpMessageIdHelper { public static boolean hasMessageIdPrefix(String string) { if (string == null) { return false; } return string.startsWith(JMS_ID_PREFIX); } }
AmqpMessageIdHelper { public static boolean hasMessageIdPrefix(String string) { if (string == null) { return false; } return string.startsWith(JMS_ID_PREFIX); }  }
AmqpMessageIdHelper { public static boolean hasMessageIdPrefix(String string) { if (string == null) { return false; } return string.startsWith(JMS_ID_PREFIX); }  static boolean hasMessageIdPrefix(String string); static String toMessageIdString(Object idObject); static String toCorrelationIdString(Object idObject); static Object toIdObject(final String origId); static byte[] convertHexStringToBinary(String hexString); static String convertBinaryToHexString(byte[] bytes); }
AmqpMessageIdHelper { public static boolean hasMessageIdPrefix(String string) { if (string == null) { return false; } return string.startsWith(JMS_ID_PREFIX); }  static boolean hasMessageIdPrefix(String string); static String toMessageIdString(Object idObject); static String toCorrelationIdString(Object idObject); static Object toIdObject(final String origId); static byte[] convertHexStringToBinary(String hexString); static String convertBinaryToHexString(byte[] bytes); static final String AMQP_STRING_PREFIX; static final String AMQP_UUID_PREFIX; static final String AMQP_ULONG_PREFIX; static final String AMQP_BINARY_PREFIX; static final String AMQP_NO_PREFIX; static final String JMS_ID_PREFIX; }