https://github.com/kiambogo/fs2-jms
JMS connectors for FS2 streams
https://github.com/kiambogo/fs2-jms
activemq fs2 ibm-mq jms scala streams
Last synced: 11 months ago
JSON representation
JMS connectors for FS2 streams
- Host: GitHub
- URL: https://github.com/kiambogo/fs2-jms
- Owner: kiambogo
- License: mit
- Created: 2018-10-28T17:36:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T17:15:31.000Z (almost 2 years ago)
- Last Synced: 2025-04-03T21:42:55.259Z (about 1 year ago)
- Topics: activemq, fs2, ibm-mq, jms, scala, streams
- Language: Scala
- Size: 27.3 KB
- Stars: 1
- Watchers: 0
- Forks: 3
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fs2-jms
[](https://travis-ci.com/kiambogo/fs2-jms)
[](https://maven-badges.herokuapp.com/maven-central/io.github.kiambogo/fs2-jms_2.12)
[](https://coveralls.io/github/kiambogo/fs2-jms?branch=master)
[fs2](https://github.com/functional-streams-for-scala/fs2) Streaming utilities for JMS providers
### Supported JMS Message Types
- [x] TextMessage
- [ ] ByteMessage
- [ ] MapMessage
- [ ] ObjectMessage
## Publisher
Example JMS publisher
```scala
val producerSettings = {
JmsProducerSettings(
connectionFactory,
sessionCount = 1,
queueName = "testQueue"
)
}
fs2.Stream
.range(1, 10)
.map(_.toString)
.through(textPipe[IO](producerSettings))
```