I'm using Liferay 6.1 and I have a portlet that is currently a publisher of events. In portlet .xml I have
<supported-publishing-event>
<qname xmlns:x="http://localhost/search">x:ipc.eventName</qname>
</supported-publishing-event>
The event is set in response and I have another portlet that receives the event successfully. I want the publisher portlet to receive the same values for which it would have to be a listener as well as publisher and it should receive the event it has published.
My question is, does the Java Portlet specification makes it possible to configure a portlet to be both? If yes, is there anything I have to do differently than if the portlet was only a publisher?