Results 1 to 3 of 3

Thread: Using Message Queues

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2002
    Location
    Newcastle, Australia
    Posts
    42

    Using Message Queues

    Hi,

    I am hoping that someone knows the correct way to process/read Microsoft Message Queues.

    I have an application the receives messages from a messaging server and places them on the Message queue after parsing them. This is done separatley for speed.

    A separate application should read messages from the queue and place the information extracted from the Message into a database table.

    How do I create an application that will continuosly process messages from the queue or waits until there is a new message?

    A colleague has used a timer that uses a 500 millisecond period, which calls a processMessage function.

    My thoughts are to create a recursive function that first uses the Peek() method. If a message is found it is processed (added to the database) and then "Received" (taken from the queue), then calls itself again. Or it waits indefinitely for a message to be processed.?

    What do you thing?

  2. #2
    Lively Member
    Join Date
    Sep 2002
    Location
    Belgium
    Posts
    99
    Hello,


    If you're from a large company then you can let it do through Biztalk Server.

    Biztalk server can receive message queues, http or read directories.
    BT has a sqlserver adapter which can easily put al this data in the dbase.

    HTH

    Bjorn

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2002
    Location
    Newcastle, Australia
    Posts
    42
    Hi,

    My company uses a Biztalk equivalent from a company named Seebeyond. The product is name e*gate.

    We will be obtaining ODBC eWays soon... that may of be of some assistance to us, until then MSMQ's are our only real option.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width