@Test public void testToString() { JmsTransactionId id = new JmsTransactionId(firstId, 1); String txKey = id.toString(); assertNotNull(txKey); assertTrue(txKey.startsWith("TX:")); }
@Override public String toString() { return "TX:" + connectionId + ":" + value; }
JmsTransactionId extends JmsAbstractResourceId implements Comparable<JmsTransactionId> { @Override public String toString() { return "TX:" + connectionId + ":" + value; } }
JmsTransactionId extends JmsAbstractResourceId implements Comparable<JmsTransactionId> { @Override public String toString() { return "TX:" + connectionId + ":" + value; } JmsTransactionId(JmsConnectionId connectionId, long transactionId); }
JmsTransactionId extends JmsAbstractResourceId implements Comparable<JmsTransactionId> { @Override public String toString() { return "TX:" + connectionId + ":" + value; } JmsTransactionId(JmsConnectionId connectionId, long transactionId); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); @Override int compareTo(JmsTransactionId o); Object getProviderTxId(); long getValue(); JmsConnectionId getConnectionId(); }
JmsTransactionId extends JmsAbstractResourceId implements Comparable<JmsTransactionId> { @Override public String toString() { return "TX:" + connectionId + ":" + value; } JmsTransactionId(JmsConnectionId connectionId, long transactionId); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); @Override int compareTo(JmsTransactionId o); Object getProviderTxId(); long getValue(); JmsConnectionId getConnectionId();  }