@Override
    public void filterConsumer(Exchange exchange, WebServiceMessage response) {
        if (exchange != null) {
            AttachmentMessage responseMessage = exchange.getMessage(AttachmentMessage.class);
            processHeaderAndAttachments(responseMessage, response);
        }
    }
@Test
    public void consumerWithHeader() throws Exception {
        exchange.getOut().getHeaders().put("headerAttributeKey", "testAttributeValue");
        exchange.getOut().getHeaders().put("headerAttributeElement", new QName("http://shouldBeInHeader", "myElement"));
        filter.filterConsumer(exchange, message);

        Assertions.assertThat(message.getAttachments()).isEmpty();

        Assertions.assertThat(message.getSoapHeader().examineAllHeaderElements()).isNotEmpty().hasSize(1);

        Assertions.assertThat(message.getSoapHeader().getAllAttributes()).isNotEmpty().hasSize(1);

    }