Topic: Rails Engine in 3.2.1

Hi All,

We have created 2 Rails engine in rails 3.2.1 and now we need to communicate between these engines.
Is there any way of doing so.
If any one has done or any idea please suggest the same with example.

Our Example:
We have one main application named Portal in which we have 2 engine named Contact and Company(resides in lib/ dir of main application).
Now i need a way to communicate between these Engines. i.e Link contact to company.
Later the engines may added in the application and those too should be able to use the same functionality of Linking e.g(Link contact to app2,app3 ....)

I need to implement in such a way that the engines are reusable by other applications too.

Please help me on the same.