Author |
Message
|
prasad.gh789 |
Posted: Wed Apr 15, 2015 10:12 am Post subject: Trigger the messages from wmq queue using WCF(.net) service |
|
|
Novice
Joined: 06 Aug 2014 Posts: 20
|
Hi All
I'm a IIB developer.
Here my requirement is to send the messages to the queue then WCF automatically pick up that messages and will send it to CRM system.
WCF guys can access wmq queue by creating service using .net and also creating the WCF custom channel.
Problem is WCF guys pick up messages from queue by calling the method every time.
they are unable to get the messages Automatically(trigger) when new messsage comes to the queue.
here how can we achieve the triggering...... |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 15, 2015 11:10 am Post subject: Re: Trigger the messages from wmq queue using WCF(.net) serv |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
prasad.gh789 wrote: |
Hi All
I'm a IIB developer.
Here my requirement is to send the messages to the queue then WCF automatically pick up that messages and will send it to CRM system.
WCF guys can access wmq queue by creating service using .net and also creating the WCF custom channel.
Problem is WCF guys pick up messages from queue by calling the method every time.
they are unable to get the messages Automatically(trigger) when new messsage comes to the queue.
here how can we achieve the triggering...... |
You'd have to write the trigger program, it will then make a hand off pushing it to the WCF stuff, or starting the WCF stuff so that it reads the queue... Remember to read the queue until empty...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Apr 16, 2015 6:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There are two basic methods of reading messages from queues.
Use triggering.
Read messages in a loop, with a long delay on the Get, and handle 2033 messages properly.
Both are perfectly fine.
You could look at MA7K to trigger your WCF program. |
|
Back to top |
|
 |
DohaDave |
Posted: Sat Jun 13, 2015 10:04 pm Post subject: |
|
|
Newbie
Joined: 13 Jun 2015 Posts: 2
|
Is it not possible to make WCF respond when a message is written to the queue? |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 15, 2015 4:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
|