Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion: message format #1

Open
vsushkov opened this issue Jun 17, 2014 · 2 comments
Open

Discussion: message format #1

vsushkov opened this issue Jun 17, 2014 · 2 comments

Comments

@vsushkov
Copy link

I think it's a good idea to allow to send arbitrary text as a message. The reason: some third party services will not change their own code but only provide you with the format of messages they want to receive.
@dankocherga What do you think about it? Is it reasonable to work on? If yes, how message receiving would be changed?

@dankocherga
Copy link
Member

Default message format in this module was born with it's first implementation as ERP system messaging solution. But, it allows you to use any format:

  1. Create a new class implementing Oggetto_Messenger_Model_Message_Interface
  2. Setup this model in DI container

@dankocherga
Copy link
Member

@vsushkov if the interface above is not working for your case please tell so I'll think how to make it more general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants