Serial bus emulation with JMS?

I am currently working on a meter bus project, and my test environment includes com0com , hub4com, rxtx, and mixed real and virtual devices.
Since I collected enough data, I want to move away from the serial material and move on to a tcp / ip clean virtual test environment.

So far I have written a small broker that works great for a small / tiny installation, but I plan to conduct a full-scale test, and I don't want to reinvent the wheel. I thought about using JMS here, but I have not done much Java work in the last 4 years, so I have no idea which provider to choose or JMS is the right choice here at all.

I came up with some numbers to simulate 9600 baud (maybe inaccurate):

Devices : 100-250 Messages: 17000+ per sec MsgSize : max. 300 byte , avg. about 40 byte Rtt: max. 30 msec 

Most providers can process messages, but I do not know the time limits. Hope someone can provide me some background information. Please also note that I can reduce the baud rate, which increases rtt and reduces msg. Failure to comply with the rtt limit would distort the wiring in my case :)

I am open to any suggestions, maybe these are design / implementation tips or indications of existing projects / software that are relevant to this goal.

+4
source share
1 answer

As a provider, you can use ActiveMQ: http://activemq.apache.org

-1
source

Source: https://habr.com/ru/post/1436834/


All Articles