public static void writeCorrelationId ( Message message , String correlationId ) { Map < String , List < String > > headers = getOrCreateProtocolHeader ( message ) ; headers . put ( CORRELATIONID_HTTP_HEADER_NAME , Collections . singletonList ( correlationId ) ) ; if ( LOG . isLoggable ( Level . FINE ) ) { LOG . fine ( "HTTP header '" + CORRELATIONID_HTTP_HEADER_NAME + "' set to: " + correlationId ) ; } }
Write correlation id .