On Thursday, 6 November 2014 14:21:52 UTC, Henry Coles wrote: > > According to the docs for 1.3.1 this sort of thing can be done by > overriding the receiveBeforeProduce method. Although this method is still > referred to in the scala doc in 2.3.6, it no longer seems to exist. > > How should custom headers now be added in a Producer? > > Simple solution I came up with for this was to create an actor that receives my internal message type and constructs a CamelMessage with headers etc before forwarding it to the Producer actor. Would be interested if there is a better way.
Thanks Henry -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
