@Test public void testDefaults() { JmsDestination destination = new JmsQueue("test"); JmsDefaultRedeliveryPolicy policy = new JmsDefaultRedeliveryPolicy(); assertEquals(JmsDefaultRedeliveryPolicy.DEFAULT_MAX_REDELIVERIES, policy.getMaxRedeliveries(destination)); }
@Override public int getMaxRedeliveries(JmsDestination destination) { return maxRedeliveries; }
JmsDefaultRedeliveryPolicy implements JmsRedeliveryPolicy { @Override public int getMaxRedeliveries(JmsDestination destination) { return maxRedeliveries; } }
JmsDefaultRedeliveryPolicy implements JmsRedeliveryPolicy { @Override public int getMaxRedeliveries(JmsDestination destination) { return maxRedeliveries; } JmsDefaultRedeliveryPolicy();  JmsDefaultRedeliveryPolicy(JmsDefaultRedeliveryPolicy source); }
JmsDefaultRedeliveryPolicy implements JmsRedeliveryPolicy { @Override public int getMaxRedeliveries(JmsDestination destination) { return maxRedeliveries; } JmsDefaultRedeliveryPolicy();  JmsDefaultRedeliveryPolicy(JmsDefaultRedeliveryPolicy source); @Override JmsDefaultRedeliveryPolicy copy(); @Override int getMaxRedeliveries(JmsDestination destination); @Override int getOutcome(JmsDestination destination); int getOutcome(); void setOutcome(int outcome); void setOutcome(String outcome); int getMaxRedeliveries(); void setMaxRedeliveries(int maxRedeliveries); @Override int hashCode(); @Override boolean equals(Object obj); }
JmsDefaultRedeliveryPolicy implements JmsRedeliveryPolicy { @Override public int getMaxRedeliveries(JmsDestination destination) { return maxRedeliveries; } JmsDefaultRedeliveryPolicy();  JmsDefaultRedeliveryPolicy(JmsDefaultRedeliveryPolicy source); @Override JmsDefaultRedeliveryPolicy copy(); @Override int getMaxRedeliveries(JmsDestination destination); @Override int getOutcome(JmsDestination destination); int getOutcome(); void setOutcome(int outcome); void setOutcome(String outcome); int getMaxRedeliveries(); void setMaxRedeliveries(int maxRedeliveries); @Override int hashCode(); @Override boolean equals(Object obj); static final int DEFAULT_MAX_REDELIVERIES; static final int DEFAULT_OUTCOME; }