Advantages of embedding the broker embedding a broker means you can use the VM transport which avoids the use of sockets and serialization. Instead ActiveMQ can pass around messages by value. the slight exception to this is ObjectMessage; the JMS specification says you must serialize the body of the ObjectMessage whenever you send it. However you can disable this feature if you want really high performance when using VM transport its only 1 single deployment unit/JVM rather than 2 coupled processes.
Read full article from Apache ActiveMQ ™ -- Should I deploy the broker inside my JVM or AppServer
No comments:
Post a Comment