giovedì 21 aprile 2011

MSMQ and Biztalk

Hi, today we see the use of MSMQ and integration with biztalk (send & receive)


First step: install MSMQ on server (same or another):

2. Click on Application Server and then click Details.
3. If the Message Queuing checkbox is selected it means the service is already installed and you can thus skip the rest of this section. If it is not, then you need to follow the rest of the steps below to install the message queuing service. In the Application Server dialog click on Message Queuing and then click Details.
 
4. In the Message Queuing dialog select the Core functionality checkbox and then click OK.
5. In the Application Server dialog click OK and then click Next in the Windows Components Wizard window to start installing the message queuing service.
6. When the installation of the message queuing service is complete, you need to click Finish in the Windows Components Wizard. The Message Queuing Service is now installed.

Second step: Create QUEUE ( we will create a private queue)
1.  Open the Computer Managment
 
2. Create a new private queue , set name , is transactional or none (remember this parameter)

Third step:  Biztalk , send and receive port ( if you want make a dummy orchestration )
1. the send port configure 
(set in trasport advanced tab ORDERED DELIVERY)
and configure... is


the parameter TRANSACTIONAL must egual to parameter queue.... and the destination is the name of queue.

2. Receive port is configured :

and the configure...

set oredered processing TRUE and the batch size  = 1.


Now, must you able to use MSMQ.

NOTE: it's important you remember, the message max dimension is 4 MB !! for larger message read my post "larger message queue"

bye

Nessun commento: