Extended pubsub message interface to use attributes