I want to pass a big message via ActiveMQ. There also two consumers/producers. The first one is built on Spring MVC and the second one uses Apache camel to get messages from queues. The problem is that I tried to push a text message that contains about 10 mb of data, but ActiveMQ broker rejected it with an error message
org.springframework.web.util.NestedServletException:
Request processing failed; nested exception is java.lang.IllegalStateException:
Form too large: 10037142 > 200000
I know that there is an opportunity of using references to the objects that is stored in a FS, but I didn't find any libraries that could solve the problem.