Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Change encoding in AMQ Classic 6.1.8 REST Connection

Open
#1,822 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
api, backend

Research direction

Start by reproducing queue retrieval through the REST API with Cyrillic content and inspect the response Content-Type and charset. Review jetty.xml and the REST response path, including handling of the Accept header; done means messages retain Cyrillic characters and the response is served with UTF-8 rather than ISO-8859-1.

Written by the indexing model from the issue text.

Description

Stale

Hi,
I am using ActiveMQ Classic in version 6.1.8 and connect via. REST API to the AMQ Broker. When retrieving messages from a queue, the message is encoded using ISO-8859-1 (Latin).

Is there a way to change this? I've already tried patching the jetty.xml file, but that didn't work. Right now, I'm having an issue where, for example, Cyrillic messages are being transmitted as ???? due to the incorrect encoding.

Even a request with the Accept header set to Accept: application/xml;charset=UTF-8 does not work. The response is always
Content-Type: text/plain;charset=iso-8859-1

Thanks and kind regards,
trxg19

Dominant language
Java
Stars
2.5k
Forks
1.5k
Avg merge
14h 42m
Merged PRs (30d)
85

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/activemq

All issues in apache/activemq

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.