How can I log a header value in camel using spring DSL

后端 未结 4 927
鱼传尺愫
鱼传尺愫 2021-02-14 04:20

This seems like it should be simple, pardon the pun. I\'m trying to log a header in camel within a spring DSL route. I\'ve seen the answer for Java DSL but I\'ve been searching

4条回答
  •  时光说笑
    2021-02-14 05:02

    Try the following, either will work:

    
    
    

    The $simple{...} syntax was added in Camel 2.5 to avoid clashes with Spring ${...} - it might be that you're using an older version?

提交回复
热议问题