Skip to main content

Posts

Showing posts with the label WSO2 MB

Building WSO2 MB 2.2.0 from the scratch

Build MB 2.2.0 [1] : According to the Release Matrix [2] MB 2.2.0 has released with chunk-11 1. Checkout the kernal patches [3] and go to patches folder and build patches up to 0008 one by one (mvn clean install -Dmaven.test.skip=true) 2. Checkout the product [4] , comment out the other products except mb-2.2.0 from the pom [5] and build the product here [6] (mvn clean install -Dmaven.test.skip=true) For this you need JDK 1.6 and Maven 3.0.5 versions [1] https://docs.wso2.com/display/MB220/Building+from+Source [2] http://wso2.com/products/carbon/release-matrix/ [3] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/ [4] https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk11/ [5] https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk11/product-releases/chunk-11/products/pom.xml [6] https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk11/product-releases/chunk-11/ Installation Pre-requisites [7]  https://docs....

ActiveMQ does not store more than 1 message when the message size is Big

When performing some tests on a new proxy service, I observed that in some cases a message store was not accepting more than one message at a time. Here's a brief description of what I was trying to do and what I observed: I have a proxy service that takes messages from a queue, perform an xslt translation on it, then put it in a message store. There is a Message processor that picks up the message from the store and calls a remote web service. Once the the web service returns, I enrich the main message with the result and send it to its final destination. What happened is when messages reached certain size (about 4MB), the web service call was taking about 40 seconds to return results. While the message processor was waiting for the response, nothing else was getting in the message store (see example below). Example: I have 3 messages in the input queue that need to be processed. (A proxy service listens on this queue) Here's what happens.  Step ...