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

Ralf Steppacher commented on CAMEL-8351:
----------------------------------------

{code}
2015-06-25 10:21:26,794 | INFO  | entExecutorGroup | pep-xds_b-registry         
      | 70 - org.apache.camel.camel-core - 2.14.1 | 
ID-ptl9921-45465-1435218175846-21-391  | Call to registry received.
2015-06-25 10:21:26,883 | INFO  | entExecutorGroup | AuditLogger                
      | 194 - ch.vivates.ams.pep - 3.0.1.SNAPSHOT | 
ID-ptl9921-45465-1435218175846-21-391  | User id: '14582'; user type: 
'LICENSED_DOCTOR'; transaction: 'AdhocQueryRequest'; resource patient id: 
'100013866046895035'; resources: 
'{100013866046895035={88467e80-c840-83c2-77f7-4ad05d3c447b=XACMLResponse 
[emergency=false, decision=Permit]}}'; transaction SUCCEEDED; pep SUCCEEDED
2015-06-25 10:21:26,893 | INFO  | EVENTS.USER.XDS] | route_xds_b-activity       
      | 70 - org.apache.camel.camel-core - 2.14.1 | 
ID-ptl9921-45465-1435218175846-21-391  | Logging XDS event: Command [type=LOG, 
getVersion()=1, getCorrelationID()=ID-ptl9921-45465-1435218175846-21-391, 
getCreatedAt()=1435220486883]
2015-06-25 10:21:26,927 | INFO  | entExecutorGroup | pep-xds_b-repository       
      | 70 - org.apache.camel.camel-core - 2.14.1 | 
ID-ptl9921-45465-1435218175846-21-397  | Call to repository received.
2015-06-25 10:21:27,013 | INFO  | entExecutorGroup | AuditLogger                
      | 194 - ch.vivates.ams.pep - 3.0.1.SNAPSHOT | 
ID-ptl9921-45465-1435218175846-21-397  | User id: '14582'; user type: 
'LICENSED_DOCTOR'; transaction: 'RetrieveDocumentSetRequest'; resource patient 
id: '100013866046895035'; resources: 
'{100013866046895035={88467e80-c840-83c2-77f7-4ad05d3c447b=XACMLResponse 
[emergency=false, decision=Permit]}}'; transaction SUCCEEDED; pep SUCCEEDED
2015-06-25 10:21:27,022 | INFO  | EVENTS.USER.XDS] | route_xds_b-activity       
      | 70 - org.apache.camel.camel-core - 2.14.1 | 
ID-ptl9921-45465-1435218175846-21-397  | Logging XDS event: Command [type=LOG, 
getVersion()=1, getCorrelationID()=ID-ptl9921-45465-1435218175846-21-397, 
getCreatedAt()=1435220487013]
{code}

> 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
>
> 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.4#6332)

Reply via email to