Msqm

ta5
Member Posts: 1,164
Hi
I read quite a few articles on this board concerning MSMQ. However, I have some unsolved questions on that.
1) Is it possible to have a form open (for testing purpuses only) waiting for the CC2:MessageReveived event as mentioned in
http://www.mibuso.com/forum/viewtopic.php?t=4185
2) I tried to make it work as described in 1), and also with the single instance codeunit. No success both ways. The message is in the queue, but the event does not fire in navision. Must this codeunit be run from NAS?
Thanks in advance
Thomas
I read quite a few articles on this board concerning MSMQ. However, I have some unsolved questions on that.
1) Is it possible to have a form open (for testing purpuses only) waiting for the CC2:MessageReveived event as mentioned in
http://www.mibuso.com/forum/viewtopic.php?t=4185
2) I tried to make it work as described in 1), and also with the single instance codeunit. No success both ways. The message is in the queue, but the event does not fire in navision. Must this codeunit be run from NAS?
Thanks in advance
Thomas
0
Comments
-
wtr Navision not picking up the message: the label of the message must be Navision MSMQ-BA
If it is not set to that then Navision ignores it.This isn't a signature, I type this at the bottom of every message0 -
Hi Steve
Thank you. It works now, as far as the message is picked up. Unfortunately, the Stream seems to be empty.
Any suggestions for that?
Thank you in advance.
Thomas0 -
Hi
It works now ;--) I had to transform the message to ansi before sending it to the mq. arMessageBody is a ByteArray.
..
[from excel]
arMessageBody = StrConv(varMessageBody, vbFromUnicode)
msg.Body = arMessageBody
..
I have now an excel client to send some test messages to the mq, picked up from Navision.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions