You need to create a *-service.xml file and place it into the deploy directory. You can see an example file in the messaging 1.4.2 binary download at examples/destinations/jbm-examples-destinations-service.xml.
In the docs, in the PDF look at section 6.6, Configuring Destinations.
Caveat: I have 1.4.4, not 1.4.2 - I hope that the locations I have given have not changed between 1.4.2 and 1.4.4.
thanks, I'll take a look. I have the docs for 1.4.2 and it looks like it's in the same place.