activemq-artemis/tests
Justin Bertram 74fa4ca758 ARTEMIS-4212 fix sending msgs to address w/mismatching routing types
When sending, for example, to a predefined anycast address and queue
from a multicast (JMS topic) producer, the routed count on the address
is incremented, but the message count on the matching queue is not. No
indication is given at the client end that the messages failed to get
routed - the messages are just silently dropped.

Fixing this problem requires a slight semantic change. The broker is now
more strict in what it allows specifically with regards to
auto-creation. If, for example, a JMS application attempts to send a
message to a topic and the corresponding multicast address doesn't exist
already or the broker cannot automatically create it or update it then
sending the message will fail.

Also, part of this commit moves a chunk of auto-create logic into
ServerSession and adds an enum for auto-create results. Aside from
helping fix this specific issue this can serve as a foundation for
de-duplicating the auto-create logic spread across many of the protocol
implementations.
2023-04-25 16:08:31 -05:00
..
activemq5-unit-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
artemis-test-support ARTEMIS-4233 Large Message Issues After Failed Clients 2023-04-06 07:40:01 -07:00
compatibility-tests ARTEMIS-4223: make compatibility tests handle version qualifiers from some JDK builds, e.g -beta from some EAs. 2023-03-29 12:53:45 +01:00
config ARTEMIS-4020: switch to using SLF4J API for logging, use Log4J 2 as impl for broker distribution and tests 2022-09-28 14:01:54 -04:00
e2e-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
integration-tests ARTEMIS-4212 fix sending msgs to address w/mismatching routing types 2023-04-25 16:08:31 -05:00
jms-tests ARTEMIS-4082: delete duplicate test, same as testDupsOKAcknowledgeQueue 2023-04-14 15:10:29 +01:00
joram-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
karaf-client-integration-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
karaf-server-integration-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
leak-tests ARTEMIS-4233 Large Message Issues After Failed Clients 2023-04-06 07:40:01 -07:00
performance-jmh ARTEMIS-4207 Improving redistribution fix over large messages 2023-04-09 17:05:17 -07:00
performance-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
security-resources ARTEMIS-3365 Add broker balancers 2021-08-06 08:33:21 -04:00
smoke-tests ARTEMIS-4237 SoakPagingTest/ReplicationFlowControlTest into soak-tests 2023-04-05 19:11:23 -07:00
soak-tests ARTEMIS-4254 Transactional test with replication 2023-04-25 08:11:22 -07:00
stress-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
timing-tests [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
unit-tests ARTEMIS-4247 BrokerClustering vs Mirror code improvements 2023-04-25 08:10:58 -07:00
pom.xml ARTEMIS-4161 AMQP and OpenWire leaking leaking objects in certain conditions 2023-02-16 12:10:54 -08:00