seems like you either have a running broker from a previous test - or you are creating multiple brokers from changing the config. Search for the activemq process and kill it. I might be easier initially to not create an embedded broker, but start it as a separate process
> On 27 Oct 2016, at 09:38, CallMeXYZ <amos.callme...@gmail.com> wrote: > > in fact if i remove the annotations /@Profile("embedded")/ of/ > brokerService/,i will get a /java.net.BindException: Address already in use: > JVM_Bind/ exception. why > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/scheduler-message-deliver-immediately-tp4718568p4718570.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.