How To Undeploy A Service-Assembly In ServiceMix

While playing around with ServiceMix I had to undeploy a service-assembly. This was not so easy.
You can use an ant task under SERVICEMIX-HOME/ant.
The readme.txt has a typo and I didn’t know the servicemix user and password.
Finally I came up with:
ant -f servicemix-ant-task.xml -Dsm.username=smx -Dsm.password=smx undeploy-service-assembly
You have to shut down the service-assembly before using the JMX console (jconsole)