private void dispose() { _section.dispose(); _metaData.dispose(); } }
public ApplicationPropertiesSection getApplicationPropertiesSection() { return getMessageMetaData().getApplicationPropertiesSection(); }
@Override public long getArrivalTime() { return getMessageMetaData().getArrivalTime(); }
return new MessageMetaData_1_0(headerSection, deliveryAnnotationsSection, messageAnnotationsSection,
@Override public int getContentSize() { return _metaData.getContentSize(); }
public DeliveryAnnotationsSection getDeliveryAnnotationsSection() { return getMessageMetaData().getDeliveryAnnotationsSection(); }
public FooterSection getFooterSection() { return getMessageMetaData().getFooterSection(); }
public HeaderSection getHeaderSection() { return getMessageMetaData().getHeaderSection(); }
public MessageAnnotationsSection getMessageAnnotationsSection() { return getMessageMetaData().getMessageAnnotationsSection(); }
return new MessageMetaData_1_0(sections, contentSize, (int) versionByte & 0xff, arrivalTime);
return new MessageMetaData_1_0(header.createEncodingRetainingSection(), null, messageAnnotation == null ? null : messageAnnotation.createEncodingRetainingSection(),
@Override public long getExpiration() { final UnsignedInteger ttl = _headerSection == null ? null : _headerSection.getValue().getTtl(); return ttl == null ? 0L : ttl.longValue() + getArrivalTime(); }
contentHeader.getContentTypeAsString()); return new MessageMetaData_1_0(header.createEncodingRetainingSection(), null, messageAnnotations == null ? null : messageAnnotations.createEncodingRetainingSection(),
bodySection); return new MessageMetaData_1_0(header.createEncodingRetainingSection(), null, messageAnnotation == null ? null : messageAnnotation.createEncodingRetainingSection(),