Hi,
What priority you are talking about ? Once the queue generated in EWM will flow to ECC and will be processed against assigned FM in ECC. Now if you need to hold that queue for some time or any logic you need, then you have to extend that corresponding FM.