NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2013-01-29T12:16:10Z by SystemAdmin
Pinned topic Tracking error sending to MQ
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
There are some applications written in WebSphere Integration Developer 6.2. In it there are imports, sending a message to MQ queue. How to catch the error and report it to the user in the most inaccessible MQ or deny entry to the queue?
Updated on 2013-01-29T12:16:10Z at 2013-01-29T12:16:10Z by SystemAdmin
SystemAdmin 110000D4XK8523 PostsACCEPTED ANSWER
Re: Tracking error sending to MQ2013-01-29T12:16:10Z in response to SystemAdminOn every MQ API call, e.g. MQPUT and MQGET, there is a Return Code given back to the caller of the API. These return codes are the way to catch errors in your application. Reporting that error to the user of the application is something the application writer determines how to do, whether it is writing it to a console, printing it to the screen or displaying a dialog box; all these depend on what kind of application it is.
With regards to deny an application entry to a queue, there are full authorization features in MQ to allow only permitted users access to any queues.
I wasn't sure exactly what you were asking to do, so if I have not answered your question, please do response with something more detailed so we can help further.