Thanks for this concise, clear, and effective demo on JMS with Artemis. It's a very good follow-up video to your video on installing and running Artemis.
@@CodeForgeYT I've been trying this but the spring.artemis.host and port are deprecated for application.properties. Apparently, I have to use broker-url and so far I don't know how to specify that.
Nice video! You should follow up with an example of how to configure topics instead of queues as well! My only remark is that you zoom in on the editor (you can enable intellij's ctrl+mouse scroll zoom from the settings) since it's really hard to see what's going on with the dark theme on a laptop screen. For those following from the previous Artemis installation video and want to use the already installed broker, don't forget to use the password "admin" in the application.properties. Also sometimes the button "send" in Artemis is missing (bug), restart the service and it should be there.
Thanks for the tips regarding Intellij. I will try to make it easier to read next time! I will try to prepare something in the future about Artemis topics. Thanks!
Great tutorial! Is it possible to dynamicall create listeners/consumers with dynamic topic names? Because now queue name statically hard coded in JmsListener
Thanks a lot for your video. I've a case as messages should be XML, I'm pretty new in this, I usually deal with xml in SOAP only, appreciate if you advise me with the staring point
Hey, glad you like it. Messages sent over ArtemisMQ are strings so it doesn't matter if you want to pass JSON or XML you just have to serialize it to String.
Hi there. I am trying to mess around with some settings. Mainly the max-queue-size queue attribute. I’ve tried editing the broker.xml file and set the the size to 10 byte but my queue still consumes large messages . Any idea?
Not sure there is max-queue-size property. I would start with documentation in this case. You can try properties like max-size-bytes or page-size-bytes
@@CodeForgeYT hi sorry, yes I meant max-size-bytes. Do you know if I am able to change this attribute on the broker.xml file ? There’s not much documentation online
@@CodeForgeYT I've looked at the documentation, but still no luck. Messages are still getting consumed despite the size of the message being bigger than what I've specified in the broker.xml
@@ghettoteacher8713 Well then in that case I would make sure if the broker.xml is in the correct location and if it is even used. Hope you will find solution.
Got Error: AMQ212054: Destination address=MyQueue is blocked. If the system is configured to block make sure you consume messages on this configuration.
Explanation is Awesome but and the font us too small it' really hard to see intelliJ as well as Command Line arguments please try to increase it in next sessions.
Thanks for this concise, clear, and effective demo on JMS with Artemis. It's a very good follow-up video to your video on installing and running Artemis.
Glad you enjoyed it!
@@CodeForgeYT I've been trying this but the spring.artemis.host and port are deprecated for application.properties. Apparently, I have to use broker-url and so far I don't know how to specify that.
Nice video! You should follow up with an example of how to configure topics instead of queues as well!
My only remark is that you zoom in on the editor (you can enable intellij's ctrl+mouse scroll zoom from the settings) since it's really hard to see what's going on with the dark theme on a laptop screen.
For those following from the previous Artemis installation video and want to use the already installed broker, don't forget to use the password "admin" in the application.properties.
Also sometimes the button "send" in Artemis is missing (bug), restart the service and it should be there.
Thanks for the tips regarding Intellij. I will try to make it easier to read next time!
I will try to prepare something in the future about Artemis topics. Thanks!
thank you very much! Brazil!!!
Happy to help!
Great tutorial!
Is it possible to dynamicall create listeners/consumers with dynamic topic names? Because now queue name statically hard coded in JmsListener
Never had such need. I think about topics/queues like about endpoints
Why is the injected JmsTemplate not private?
Thanks for the video!
You are welcome! :)
Thanks a lot for your video. I've a case as messages should be XML, I'm pretty new in this, I usually deal with xml in SOAP only, appreciate if you advise me with the staring point
Hey, glad you like it. Messages sent over ArtemisMQ are strings so it doesn't matter if you want to pass JSON or XML you just have to serialize it to String.
@@CodeForgeYT so, I can use it with Jackson..Ok, thanks a lot, I'll try it
Hi there. I am trying to mess around with some settings. Mainly the max-queue-size queue attribute. I’ve tried editing the broker.xml file and set the the size to 10 byte but my queue still consumes large messages . Any idea?
Not sure there is max-queue-size property. I would start with documentation in this case. You can try properties like max-size-bytes or page-size-bytes
@@CodeForgeYT hi sorry, yes I meant max-size-bytes. Do you know if I am able to change this attribute on the broker.xml file ? There’s not much documentation online
@@ghettoteacher8713 Yes it is described in the artemis documentation in Paging section
@@CodeForgeYT I've looked at the documentation, but still no luck. Messages are still getting consumed despite the size of the message being bigger than what I've specified in the broker.xml
@@ghettoteacher8713 Well then in that case I would make sure if the broker.xml is in the correct location and if it is even used. Hope you will find solution.
where is receive message being called?
Got Error: AMQ212054: Destination address=MyQueue is blocked. If the system is configured to block make sure you consume messages on this configuration.
Explanation is Awesome but and the font us too small it' really hard to see intelliJ as well as Command Line arguments please try to increase it in next sessions.
10/10!!
Awesome!
code github???
I have uploaded code on GitHub you can find link in video description! :)
CodeForgeYT OK, thank you
please be careful about font size and dark mood