If you are asking about the "Custom events for alerting" feature, I think it's not possible. For dimension based alerts, you need to specify the dimension (no rules such as matches or begins with are possible). Thus you will need to set up a separate alert rule for each dimension (queue name) you need.
But this sounds like a good RFE candidate.
We are monitoring a JMS service with 700 queues. So I suppose I'll then just create 700 custom alerts, wish me luck! 🙂 Nah, I guess I need to think about some other solution... I wonder if Monaco would help here? I would somehow need to populate the values for each 700 queues, though...
When defining the JMX plugin, I can split the data by dimension (by queue). But then I can't alert with the same idea. So I can monitor... but I can't alert. That's a shame.