camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8351) Spring-ws consumer ignores breadcrumbId http header
Date Mon, 06 Mar 2017 09:22:33 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896954#comment-15896954
] 

ASF GitHub Bot commented on CAMEL-8351:
---------------------------------------

Github user onders86 closed the pull request at:

    https://github.com/apache/camel/pull/1499


> Spring-ws consumer ignores breadcrumbId http header
> ---------------------------------------------------
>
>                 Key: CAMEL-8351
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8351
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring-ws
>    Affects Versions: 2.14.1
>            Reporter: Ralf Steppacher
>            Assignee: onder sezgin
>             Fix For: 2.19.0
>
>
> The spring-ws consumer does not pick up a {{breadcrumbId}} HTTP header. I tried to find
a hook where I could jump in and make the breadcrumbId from the HTTP headers available, but
could not find any.
> The spring-ws endpoint ({{SpringWebserviceConsumer}}) does not care about HTTP headers,
only about SOAP headers and properties of the {{org.springframework.ws.context.MessageContext}}.
SOAP headers get converted into exchange headers while message context properties get converted
into exchange properties. Properties could be added by using a {{org.springframework.ws.server.EndpointInterceptor}}.
> A breadcrumbId property is not picked up by Camel though. The {{org.apache.camel.impl.DefaultUnitOfWork}}
creates a new breadcrumbId because it only checks the headers of the in-message, not the exchange
properties for an already existing breadcrumb ID.
> A SOAPHeader "breadcrumbId" is copied over to the in-message headers and picked up by
the DefaultUnitOfWork, but it is not automagically converted from {{org.springframework.ws.soap.saaj.SaajSoapHeaderElement}}
to its text content.
> Ideally the web service consumer would pick up the breadcrumId (and others) from the
HTTP headers and restore them as in-message headers.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message