def _build_header(self, raw_msg, raw_headers): """ Override to direct the calls in _build_header - first the Publisher, then the Process mixin. """ header1 = PublisherEndpointUnit._build_header(self, raw_msg, raw_headers) header2 = ProcessEndpointUnitMixin._build_header(self, raw_msg, raw_headers) header1.update(header2) return header1
def _build_header(self, raw_msg): """ Override to direct the calls in _build_header - first the Publisher, then the Process mixin. """ header1 = PublisherEndpointUnit._build_header(self, raw_msg) header2 = ProcessEndpointUnitMixin._build_header(self, raw_msg) header1.update(header2) return header1