Dealing with PubSub and PubSubNode.getItems()

Issue #83 invalid
jjoannes created an issue

As far as I understand the only way to get the content of an item is to use the "item.getPayload()", which returns an Object. And I don't see a clean way to work with this Object except using a dirty cast to "Node" (and then using JAXB to unmarshall the content). Did I miss something?

Comments (2)

  1. jjoannes reporter

    Oups... My bad, actually the payload is of the right class. Just forgot to add it as extension...

  2. Log in to comment