Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-04-30 Thread John Dale
Another thought .. you can do some request dispatching, but without knowing more about the tools you're using, I can't say for sure if this is the direction you'll want to go. On 4/29/19, Paul Carter-Brown wrote: > Hi > > I'm trying to design a Kafka consumer and producer that will run inside the

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-04-30 Thread John Dale
This is one of my favorite things. You'll need to retransmit headers, but by and large it's doable. Management of contexts can be tricky. Don't forget that the target service will have a difference context (database connection context has bitten me in the past on this type of task). I do my sess