http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html_single/index.html#installation
I've been following the manual instructions for installing JBM 1.4.0 to AS 4.2.2 and found the following steps missing.
We need to modify the jbmq-queue-service.xml descriptors in the following $JBOSS_HOME/server/default/deploy files:
smooks.esb
management.esb
jbpm.esb
and replace them with the correct jbm-queue-service.xml files.
All of the above ESB's are shipped with AS 4.2.2 by default and thus are wired to MQ by default which won't work when you strip AS of MQ and replace it with JBossMessaging.
JBoss AS 4.2.2 does not ship with any esb related stuff.
I guess you are thinking of JBoss SOA platform.