Using Apache Camel ProducerTemplate in Apache Storm bolt
问题 I'm trying to write simple Storm + Camel project. My Storm topology analyzes tweets and one bolt should send tweet text to apache camel route, which in turn is using websocket to notify some webapp. I cannot make it work due to NotSerializableExceptions received from bolts when trying to use build once CamelContext. What I've already tried: pass CamelContext in bolt's constructor - results in NotSerializableException pass CamelContext in storm conf, and use it in bolt's prepare(...) method to