messaging package provides services and types for creating and working with peer-to-peer sessions. The
FlowMessaging service allows you to create new sessions with counterparties. Once created, a
FlowSession can be used to send and receive messages from a peer.
Corda creates a
FlowSession instance for a flow
Communication between participants in an application network is peer-to-peer using flows.
created via a peer-to-peer message (one implementing
ResponderFlow in the
flows package) for communication with the peer that initiated the flow.
For more information, see the documentation for the package in the Java API documentation.
Was this page helpful?
Thanks for your feedback!
Chat with us
Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
Propose documentation improvements directly
Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.
We're sorry this page wasn't helpful. Let us know how we can make it better!
Chat with us
Create an issue
Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.