Wrapper for Solace

Can we read data from files and push it to solace? Basically i want solace to act similar to TCP

Answers

  • Aaron
    Aaron Member, Administrator, Moderator, Employee Posts: 644 admin

    Yes you can. Would probably take about 50 lines of code. If you don't want to write code, I'd suggest checking out Camel, that's probably the easiest option for reading files and publishing as messages.

  • TomF
    TomF Member, Employee Posts: 412 Solace Employee

    Or you could use sdkperf with the -pal option. That's the easiest! Be aware of size limits: 30MB for persistent (queued), 64MB for direct. If you need to send bigger files than this, you'll need to write a fragmenter/de-fragmenter.

  • alinaqvi
    alinaqvi Member Posts: 35

    We some times send a files contents over a topic. Then subscribe to that topic and receive on the other end. The max size we do is around 20MB and it works.