IBM i series (AS/400) are not mainframes. They are considered a midrange machine. The IBM z series are mainframes.
I regularly use Apache ActiveMQ on the IBM i. It has excellent Java support with the IBM JDK.
It is my understanding that the IBM z series also has excellent Java support.
IBM also offers Websphere MQ but I can't find any information on whether it supports the AMQP protocol.