How can I subscribe to an external api?

34 views
Skip to first unread message

Sayed Erfan Arefin

unread,
Jan 31, 2019, 5:29:17 AM1/31/19
to Lagom Framework Users [deprecated]
I need to subscribe to an external api with web socket in order to receive messages from a topic to consume it in lagom. Later I will use the message to publish it to a different topic for internal usage. How can this be achieved?

Emanuel Oliveira

unread,
Jan 31, 2019, 8:12:59 AM1/31/19
to Lagom Framework Users [deprecated]

This post of Knoldus explains it very well.

Basically, you need to add an entry on onManagedServices pointing to base URL of this external service and to create a trait to this service.

Links:
Reply all
Reply to author
Forward
0 new messages