- notification = bt_notification_iterator_get_notification(it);
- BT_ASSERT(notification);
- ret = handle_notification(writer_component, notification);
+ message = bt_message_iterator_get_message(it);
+ BT_ASSERT(message);
+ ret = handle_message(writer_component, message);