When you have created a remote queue definition, you need to create a listener.
mqe_script_listen -create -listenname L2 -port 1881
Creates a listener for queue manager QM2 and listens on port 1881. The default communications adapter is used, which is the Http adapter.
For more information on using Java™ to create a listener, see Configuring a listener. For an example, see Java.