@Test public void testJmsConsumerIdFromJmsSessionId() throws Exception { JmsConsumerId id1 = new JmsConsumerId(firstId, 1); JmsConsumerId id2 = new JmsConsumerId(id1); assertSame(id1.getValue(), id2.getValue()); }
public long getValue() { return value; }
JmsConsumerId extends JmsAbstractResourceId implements Comparable<JmsConsumerId> { public long getValue() { return value; } }
JmsConsumerId extends JmsAbstractResourceId implements Comparable<JmsConsumerId> { public long getValue() { return value; } JmsConsumerId(String connectionId, long sessionId, long consumerId);  JmsConsumerId(JmsSessionId sessionId, long consumerId);  JmsConsumerId(JmsConsumerId consumerId);  JmsConsumerId(String consumerKey); }
JmsConsumerId extends JmsAbstractResourceId implements Comparable<JmsConsumerId> { public long getValue() { return value; } JmsConsumerId(String connectionId, long sessionId, long consumerId);  JmsConsumerId(JmsSessionId sessionId, long consumerId);  JmsConsumerId(JmsConsumerId consumerId);  JmsConsumerId(String consumerKey); JmsSessionId getParentId(); String getConnectionId(); long getSessionId(); long getValue(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); @Override int compareTo(JmsConsumerId other); }
JmsConsumerId extends JmsAbstractResourceId implements Comparable<JmsConsumerId> { public long getValue() { return value; } JmsConsumerId(String connectionId, long sessionId, long consumerId);  JmsConsumerId(JmsSessionId sessionId, long consumerId);  JmsConsumerId(JmsConsumerId consumerId);  JmsConsumerId(String consumerKey); JmsSessionId getParentId(); String getConnectionId(); long getSessionId(); long getValue(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); @Override int compareTo(JmsConsumerId other);  }