ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Trigger the messages from wmq queue using WCF(.net) service

Post new topic  Reply to topic
 Trigger the messages from wmq queue using WCF(.net) service « View previous topic :: View next topic » 
Author Message
prasad.gh789
PostPosted: Wed Apr 15, 2015 10:12 am    Post subject: Trigger the messages from wmq queue using WCF(.net) service Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 15, 2015 11:10 am    Post subject: Re: Trigger the messages from wmq queue using WCF(.net) serv Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Apr 16, 2015 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message
DohaDave
PostPosted: Sat Jun 13, 2015 10:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 15, 2015 4:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

In WMQ, WCF is a way to configure, basically, a connection to a queue manager.

You can use the .NET monitor to establish a watch on a given queue, to read messages as they appear.

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.dev.doc/q029700_.htm?lang=en
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Trigger the messages from wmq queue using WCF(.net) service
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.