public JsDestinationAddress getRoutingDestination() {
        String name = (String) getHdr2().getField(JsHdr2Access.ROUTINGDESTINATION_VALUE_NAME);
        /* If the name is null, the RoutingDestination has never been set. */
        if (name != null) {
            byte[] b = (byte[]) getHdr2().getField(JsHdr2Access.ROUTINGDESTINATION_VALUE_MEID);
            return new JsDestinationAddressImpl(name
                            , false
                            , (b == null) ? null : new SIBUuid8(b)
                            , (String) getHdr2().getField(JsHdr2Access.ROUTINGDESTINATION_VALUE_BUSNAME));
        }
        else {
            return null;
        }
    }
public JsDestinationAddress getRoutingDestination ( ) { String name = ( String ) getHdr2 ( ) . getField ( JsHdr2Access . ROUTINGDESTINATION_VALUE_NAME ) ; if ( name != null ) { byte [ ] b = ( byte [ ] ) getHdr2 ( ) . getField ( JsHdr2Access . ROUTINGDESTINATION_VALUE_MEID ) ; return new JsDestinationAddressImpl ( name , false , ( b == null ) ? null : new SIBUuid8 ( b ) , ( String ) getHdr2 ( ) . getField ( JsHdr2Access . ROUTINGDESTINATION_VALUE_BUSNAME ) ) ; } else { return null ; } }
/*
Get the optional RoutingDestination field from the message header.
The JsDeststinationAddress returned is a copy of the header field,
so no updates to it affect the Message header itself.

Javadoc description supplied by CommonMessageHeaders interface.