Friday, August 21, 2015

ehavior of Environment and local Environment "Under Exception" in WebSphere Message Broker

ehavior of Environment and local Environment "Under Exception" in WebSphere Message Broker

Now a days most of the interviews have this question... like 8 out of 10!!! "What happens to Environment/Local Environment When an Exception occurs?"

Well... you can answer that straight away if you have completely red and understood about the Environment & Local-environment and their behavior under failure situations along with the behavior of Try-Catch Node [which would probably take an hour or so].... or... you could just do a small experiment and see it for yourself under quite a little expense of time.

Coming to the point... Local environment confuses most of the starters, since it changes with every step of rollback that occurs under Exception. To make things extremely simple and understandable I shall draw a grid.
But Before that make sure you understand, When an Exception occurs at Point
"E" it follows the path "E1 > E2 > E3 > E4"... Assuming you understand this pretty well... Lets get to the table.


Do the sample to get a clear overview... AT E4 the previous exception list is dropped and the MQ Input Node or, what ever Input node is present there generates the ExceptionList. We should be able to conclude that the actual exception which is generated by the MQ Output Node is only accessible at E1 unless transferred to other points by other mechanisms.

No comments:

Post a Comment