473,491 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Alternative to MessageQueues

We have a product that has 5 executibles that communicate via message
queueing. It works great. Problem is, when we install on customers PCs,
there are some where their IT department has limited the machine so we can't
do message queueing (the default user doesn't have rights to create/add the
queues.) So I'm looking for ways to send messages back and forth between the
programs without message queues.

As an absolute worst case, I could do files between the programs but I'd
rather find something else. But I do need something that would 'queue' up
the messages.

Anybody have any thoughts?

TIA - Jeff.
May 21 '07 #1
6 1374
Jeff,

You could use WCF and TCP/IP connections, or named pipes.

The problem with that is that the semantics are totally different. With
named pipes and sockets, you are depending on a connection. If the client
goes down, then you won't be able to send messages to them, whereas with
MSMQ, you can send messages to queues, and have them processed later.

If you can account for these differences, and they fit your processing
model, then great, otherwise, you will have to change how you process your
messages, and that might be more work than you are willing to take on.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mufasa" <jb@nowhere.comwrote in message
news:uS**************@TK2MSFTNGP04.phx.gbl...
We have a product that has 5 executibles that communicate via message
queueing. It works great. Problem is, when we install on customers PCs,
there are some where their IT department has limited the machine so we
can't do message queueing (the default user doesn't have rights to
create/add the queues.) So I'm looking for ways to send messages back and
forth between the programs without message queues.

As an absolute worst case, I could do files between the programs but I'd
rather find something else. But I do need something that would 'queue' up
the messages.

Anybody have any thoughts?

TIA - Jeff.


May 21 '07 #2
Hello Mufasa,

Why not to emulate the MSMQ behaviour by your own? Keeping the message localy
and using 2-phase commit sending to the otner machine?

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

MWe have a product that has 5 executibles that communicate via message
Mqueueing. It works great. Problem is, when we install on customers
MPCs, there are some where their IT department has limited the machine
Mso we can't do message queueing (the default user doesn't have rights
Mto create/add the queues.) So I'm looking for ways to send messages
Mback and forth between the programs without message queues.
M>
MAs an absolute worst case, I could do files between the programs but
MI'd rather find something else. But I do need something that would
M'queue' up the messages.
M>
MAnybody have any thoughts?
M>
MTIA - Jeff.
M>
May 21 '07 #3
Hohpe & Woolf in "Enterprise Integration Patterns" describe different
mechanisms which can be used to communicate between different
processes. It is a good read.

However, here are some options discussed:
1. File Dumps -
Copy and upload using batch scripts and then process them at a central
place if needed.
2. Shared Database -
You could have the processes write to the same shared database and
then appropriately process your message.
3. .NET Remoting or Web Services -
If ports are blocked, then you could use web services.

Messaging architectures like MSMQ are great for reliable distributed
application. However, each approach has its advantages and
disadvantages. I just wanted to list some of them for you.

Sincerely,
Bobby

On May 21, 1:26 pm, "Mufasa" <j...@nowhere.comwrote:
We have a product that has 5 executibles that communicate via message
queueing. It works great. Problem is, when we install on customers PCs,
there are some where their IT department has limited the machine so we can't
do message queueing (the default user doesn't have rights to create/add the
queues.) So I'm looking for ways to send messages back and forth between the
programs without message queues.

As an absolute worst case, I could do files between the programs but I'd
rather find something else. But I do need something that would 'queue' up
the messages.

Anybody have any thoughts?

TIA - Jeff.

May 21 '07 #4
"Mufasa" <jb@nowhere.comwrote in message
news:uS**************@TK2MSFTNGP04.phx.gbl...
We have a product that has 5 executibles that communicate via message
queueing. It works great. Problem is, when we install on customers PCs,
there are some where their IT department has limited the machine so we
can't do message queueing (the default user doesn't have rights to
create/add the queues.) So I'm looking for ways to send messages back and
forth between the programs without message queues.

As an absolute worst case, I could do files between the programs but I'd
rather find something else. But I do need something that would 'queue' up
the messages.

Anybody have any thoughts?
I would say talk to the IT department, why and how did they remove or
restricted the MSMQ capabilities of their users? Anything else you are
trying to invent can get banned or restricted too.

Willy.

May 21 '07 #5
Hi Hufasa,

Approaching the problem from a completely different angle, modify your
installation program (or create one if you don't currently have one) so that
it (the installation program) is reponsible for creating the message queues;
and also applying relevant security to those message queues that allows the
users to post / read messages. That obviously requires that only an
admininstrator can install your application, but from the sounds of it, that
may already be the case. Then your application can run with the reduced
rights of the end user, but still utilise all the benefits of message
queues.

Regards,

- Paul.

"Mufasa" <jb@nowhere.comwrote in message
news:uS**************@TK2MSFTNGP04.phx.gbl...
We have a product that has 5 executibles that communicate via message
queueing. It works great. Problem is, when we install on customers PCs,
there are some where their IT department has limited the machine so we
can't do message queueing (the default user doesn't have rights to
create/add the queues.) So I'm looking for ways to send messages back and
forth between the programs without message queues.

As an absolute worst case, I could do files between the programs but I'd
rather find something else. But I do need something that would 'queue' up
the messages.

Anybody have any thoughts?

TIA - Jeff.


May 22 '07 #6
Paul,
Thanks but the real problem is our customers don't have an administrator
around. It will be some low level Joe who doesn't have admin privileges to
the machine they are installing it on. Once it is installed then it works
fine. It's the installing that's the issue. And when they talk to their IT
department (who has really locked the machine down) the IT people call us
and we have to explain what Message Queueing is and that it's part of
windows and it's safe, yada yada yada...... It makes a 10 minute install by
the customer become a 2 hour phone conversation with us.

I'm probably going to go with files.

But thanks anyway.

Jeff/Mufasa.

"Paul Hadfield" <no****@nospam.comwrote in message
news:en**************@TK2MSFTNGP05.phx.gbl...
Hi Hufasa,

Approaching the problem from a completely different angle, modify your
installation program (or create one if you don't currently have one) so
that it (the installation program) is reponsible for creating the message
queues; and also applying relevant security to those message queues that
allows the users to post / read messages. That obviously requires that
only an admininstrator can install your application, but from the sounds
of it, that may already be the case. Then your application can run with
the reduced rights of the end user, but still utilise all the benefits of
message queues.

Regards,

- Paul.

"Mufasa" <jb@nowhere.comwrote in message
news:uS**************@TK2MSFTNGP04.phx.gbl...
>We have a product that has 5 executibles that communicate via message
queueing. It works great. Problem is, when we install on customers PCs,
there are some where their IT department has limited the machine so we
can't do message queueing (the default user doesn't have rights to
create/add the queues.) So I'm looking for ways to send messages back and
forth between the programs without message queues.

As an absolute worst case, I could do files between the programs but I'd
rather find something else. But I do need something that would 'queue' up
the messages.

Anybody have any thoughts?

TIA - Jeff.



May 22 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

46
3978
by: Robin Becker | last post by:
It seems that the rotor module is being deprecated in 2.3, but there doesn't seem to be an obvious alternative. I'm using it just for obfuscation. It seems we have ssl available in 2.3 for sockets,...
99
4534
by: Paul McGuire | last post by:
There are a number of messages on the python-dev mail list that indicate that Guido is looking for some concensus to come from this list as to what *one* alternative syntax for decorators we would...
28
2354
by: Paul McGuire | last post by:
Well, after 3 days of open polling, the number of additional votes have dropped off pretty dramatically. Here are the results so far: Total voters: 55 (with 3 votes each) Votes for each choice...
1
4800
by: Bob Smith | last post by:
so is there any alternative ( standard only ) to using in_avail()? I need to poll with given intervals the input stream, and if there is data to be read I want to read it. thank you /B
43
42733
by: Dimitri Debruyne | last post by:
Hi group I am in the process of developing a website in XHTML Strict and CSS. Is there a way to open a link in a new window without the use of frames or Javascript or something ? I didn't find a...
4
2119
by: tonyz.wrightz | last post by:
Hi, I have used the setup wizard to build an installer that installs my asp.net application. Problem is, at my current job, they have an alternative web folder at the root level (to clarify, at...
1
13268
by: prasaddevivara | last post by:
I am using the outerHTML property to modify the HTML of existin elements in a web page in Internet Explorer. But same outerHTM property is not working in firefox browser, Anybody can tell me a...
3
2587
by: Will McGugan | last post by:
Hi, Is there a naming convention regarding alternative constructors? ie static methods where __new__ is called explicity. I use lower_case for methods in general, but thought maybe CamelCase...
0
2764
by: sachintandon | last post by:
Hello all, Thanks in advance for your help I have a problem in sending emails, my requirement is to send multipart alternative emails with attachments, I'm able to send text with attachments or...
11
2262
by: Francine.Neary | last post by:
I've read that as well as "normal" Java-like function definitions, e.g. int main(int argc, char **argv), you can also choose to use an alternative syntax, i.e. int main(argc, argv) int argc;...
0
6978
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.