Skip to content
* / softthoughts

The first AMM release

After a few months of sweat, blood and tears there is finally an acceptable version of the AX messaging module. Happy me… 🙂 It gives the developer the opportunity to use a framework for:

  • creating messages (events, commands, documents),
  • configuring message busses,
  • creating message channels and sending messages over these channels,
  • creating message handlers. These can be classes (and forms) that handle messages synchronously or classes that handle messages synchronous or asynchronously.
  • registrating message handlers statically and dynamically for listening to messages
  • asynchronous message handling is done event-driven or by polling
  • for asynchronous message handling, there is the option for preparing the actual handling of a message in a seperate job, or immediately after the sending of the message, which asks a little executing overhead when the message is sent
  • view a log of every sequence of messages and their senders,
  • view detailed message and message handler data
  • view message handling info logs
  • creating classes that monitor the message traffic and their handling

There are a few areas where the standard Ax frameworks are used.

  • All the asynchronous executing is done through the use of Ax batch framework,
  • Message handling logging is done with the use of the Ax info framework
  • Async message handling reoccurence can be configured with the use of the Ax reoccurence framework

Because this messaging module gives the ability to provide some interesting design characteristics, we shall use it in the new Ax system of AWW, the main Antwerp Water supplier company. The project just started and so the architectural aspects are currently under consideration.

An important feature for the future is a bridge with external systems like biztalk, MSMQ, file system. Messages can then be delivered outside the system without any dependency of the business logic with the external system. The only dependency the business logic will have is with the AMM. At the moment the use of the AIF looks like an obvious choice. It already provides a well defined frame for external communication.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: