* Check if the given packet should be persisted or not.
* @param packet
* @return
*/
protected boolean isPersistent(MessageExchange me) {
ExchangePacket packet = ((MessageExchangeImpl) me).getPacket();
if (packet.getPersistent() != null) {
return packet.getPersistent().booleanValue();
} else {
return broker.getContainer().isPersistent();
}
}