15:43, EEST
July 11, 2017
We are trying to simulate Pub-Sub concept using ProSys Library. I know we dont have corresponding Object Modelling as well as Pub-Sub support in the library yet due to unavailability of Released Spec by OPC Foundation and also these questions are out of scope of this forum and support by the ProSys Library as well. But any help would be appreciable.
What we are trying to achieve – Application would connect to any Message Broker like MQTT/AMPQ or ActiveMQ JMS Broker. Mock OPC server publish a Message published on the bus which needed to be parsed by the ProSys Library once consumer receives the message.
Challenge which we are facing
1) Which message can be posted on Broker which can contain some data as well ? We were thinking to utilize PublishResponse for the purpose but facing issues as its not Serializable. Chosen Object can be posted as a TextMessage, ByteMessage or ObjectMessage (looks difficult due to its nature) etc if we talk about JMS.
2) Even if we somehow post a TextMessage or probably ByteMessage form of PublishResponse by publisher. there is no straight way of constructing PublishResponse object from string or bytes back by the consumer. So which ever object we want to use should contain data and should be allowed to construct from consumed message.
-Sumit
Most Users Ever Online: 1919
Currently Online:
16 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 730
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25ZofModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1