Receiving messages in a External Server Component

I have developed an external server component. Is it possible to configure ejabberd to forward messages to that component based on the namespace on the message instead of based on the destination?

For example, I would like to receive in my external server component IQ messages with a child with namespace "uri:xxx", to receive messages like this:

<iq to="xxx.domain.com">
<xxx xmlns="uri:xxx">
</xxx>
</iq>

Thx a lot,
G.

This question was also sent

This question was also sent to the ejabberd mailing list: IQ Handler in external component and got some answer.

Syndicate content