Destination name is longer than 'MaximumFileNameLength'
Issue
- One of our clients uses mostly topics whose errors are generated in queues due to the following configuration in the broker:
<deadLetterStrategy>
<individualDeadLetterStrategy topicPrefix="" topicSuffix=".error" useQueueForTopicMessages="true" destinationPerDurableSubscriber="true" />
</deadLetterStrategy>
- As a result, the generated queue name can be very long. In our for instance:
xyz-033.pqrs.test.abcd.something.[customSubscriber:customSubscription.error]
The part between [ ] is auto-generated.
- I find the following errors in the logs
2018-02-05 14:28:13,994 | WARN | .203:42890@61616 | MultiKahaDBPersistenceAdapter | db.MultiKahaDBPersistenceAdapter 155 | 162 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630310 | Destination name is longer than 'MaximumFileNameLength' system property, potential problem with recovery can result from name truncation
- It seems the defined value of MaximumFileNameLength is 64.
- Can this have an impact on the business ?
Environment
- Red Hat JBoss Fuse
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.