Comments (4)
Could you please elaborate why?
from queue-interop.
Now you must:
$message->setBody('body');
$message->setProperty('key', 'value');
$message->setHeader('h', 'v');
Expected (better readability):
$message
->setBody($data)
->setProperty('key', 'value')
->setHeader('h', 'v');
from queue-interop.
I don't think worth it, good write up on the topic https://ocramius.github.io/blog/fluent-interfaces-are-evil/
from queue-interop.
The other point against the change it is a huge BC break as well as JMS does not do it either https://docs.oracle.com/javaee/7/api/javax/jms/Message.html#setBooleanProperty-java.lang.String-boolean-
from queue-interop.
Related Issues (14)
- Traits to implement Interfaces HOT 1
- Interface names do not respect PSR HOT 6
- Should the interop supports 5.x PHP? HOT 9
- Remove a Message typehint from InvalidMessageException assert method
- Why message body is of type string? HOT 12
- how to change the default directory for the queue storage?
- Master branch more recent than develop
- Drop PHP 7.1 and 7.2 support
- Still maintained? HOT 4
- Proposals
- I cant see why a PsrConnectionFactory interface is needed. HOT 3
- Message creation should not depend on context HOT 1
- Quick review of queue-interop with some comments HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from queue-interop.