Project

General

Profile

Documentation » History » Revision 12

Revision 11 (chin-yeh, 10/27/2010 02:51 PM) → Revision 12/49 (chin-yeh, 10/27/2010 02:56 PM)

{{toc}} 

 h1. Documentation 

 The main documentation for this project. 

 h2. Load Test Result (prototype) 

 [[Load Test Prototype|Click here]] to see the result. 

 h2. Overview Create Queue 

 In summary, # edit the QConnector contains @deploy/hornetq.sar/hornetq-jms.xml@ 
 <pre> 
 <queue name="RequestQueue"> 
       <entry name="/queue/RequestQueue"/> 
 </queue> 
  <queue name="ResponseQueue"> 
       <entry name="/queue/ResponseQueue"/> 
 </queue> 
 </pre> 
 # edit the following @deploy/hornetq.sar/hornetq-configuration.xml@ 
 <pre> 
 <address-settings> 
       <!--default for catch all--> 
       <address-setting match="#"> 
          <dead-letter-address>jms.queue.DLQ</dead-letter-address> 
          <expiry-address>jms.queue.ExpiryQueue</expiry-address> 
          <redelivery-delay>0</redelivery-delay> 
          <max-size-bytes>10485760</max-size-bytes> 
          <message-counter-history-day-limit>10</message-counter-history-day-limit> 
          <address-full-policy>BLOCK</address-full-policy> 
       </address-setting> 
       <address-setting match="jms.queue.RequestQueue"> 
          <dead-letter-address>jms.queue.DLQ</dead-letter-address> 
          <expiry-address>jms.queue.ExpiryQueue</expiry-address> 
          <redelivery-delay>5000</redelivery-delay> 
          <max-delivery-attempts>3</max-delivery-attempts> 
          <max-size-bytes>10485760</max-size-bytes> 
          <message-counter-history-day-limit>10</message-counter-history-day-limit> 
          <address-full-policy>BLOCK</address-full-policy> 
       </address-setting> 
       <address-setting match="jms.queue.ResponseQueue"> 
          <dead-letter-address>jms.queue.DLQ</dead-letter-address> 
          <expiry-address>jms.queue.ExpiryQueue</expiry-address> 
          <redelivery-delay>5000</redelivery-delay> 
          <max-delivery-attempts>3</max-delivery-attempts> 
          <max-size-bytes>10485760</max-size-bytes> 
          <message-counter-history-day-limit>10</message-counter-history-day-limit> 
          <address-full-policy>BLOCK</address-full-policy> 
       </address-setting> 

    </address-settings> 
 </pre> 

 h2. Components 

 h3. JMS Adaptor 

 This adaptor consists of 2 main components: 
 * *JMS Adaptor* 
 ** produce JMS message 
 ** * consume JMS message 

 The adaptor must works with JDK 5.0 or above. 

 h3. SOAP Adaptor 

 This adaptor consists of: 
 * *SOAP Adaptor* 
 ** forward XML content to web service provider 
 * *Web with no modification on the original content 

 This adaptor works with JDK 5.0 or above. 

 h3. Web Service (Dot Com)* 
 ** Com) 

 All of the web service request should come will be received from the JMS system. 
 * *Web component. 

 h3. Web Service Mimic* 
 ** Mimic 

 Act as a proxy by receiving the web service request on behalf of the actual web service provider. 
 ** this 

 This component works together with JMS adaptor to insert web service request into JMS queue. 
 * *WS Status* 
 ** this 

 h3. WS Status 

 This component transforms the web service's response and update the respective event log in the database. 
 * *XML mapper* 
 ** this 

 h3. XML mapper 

 This component transform the bean into XML.