Hi

I'm trying to create a auditservice using a wiretap.

eg. 
        <camel:route trace="true" id="RapNotificationRoute">
                        <camel:from
uri="oracleQueue:queue:FURTHERELEMENTS_TEST?jmsMessageType=Text"/>
                        <camel:transacted ref="PROPAGATION_REQUIRED"/>
                        <camel:wireTap uri="seda:audit"/>
                        <camel:to uri="mock:result"/>
                </camel:route>

                <camel:route id="AuditRoute">
                        <camel:from uri="seda:audit"/>
                        <camel:bean ref="auditMessageDAO" method="audit"/>
                </camel:route>

The auditMessageDAO takes 2 parameters

public void audit(@Body String body, @Headers Map headers) 

The body gets bound, but the headers parameter doesn't ??
Any idear how this is done best ???


Thanks 
Preben
-- 
View this message in context: 
http://old.nabble.com/wiretap-getting-header-value-tp27238444p27238444.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to