In my previous article, Enabling Byteman Script with Red Hat JBoss Fuse and AMQ – Part 1, we found a basic use-case for Byteman scripts with Red Hat JBoss Fuse or Red Hat JBoss AMQ. However, the log file was generated separately and only limited operations were possible. In this article I will show you how to use a Java helper class. By using Java, we get advanced operations to view or modify the content. Also, using <code>java.util.logging</code> allows us to log the statements to <code>fuse.log</code>, avoiding the creation of any other log file.
Continue reading “Enabling Byteman Scripting with Red Hat JBoss Fuse and AMQ – Part 2”