how to start rabbitmq_services in a class of java ,a method of main