Skip to content

Browse JMS doesn't set the connection factory if there's only one #10283

@philipsens

Description

@philipsens

Current Behavior

Cannot browse because the connection factory is not set. Although it is (there is only one and it is preselected)

Send request:

{
  "destination": "test",
  "connectionFactory": "",
  "type": "QUEUE",
  "rowNumbersOnly": false,
  "payload": false,
  "lookupDestination": false
}

Expected Behavior

Should add cf to request when only one cf is available, so browse works.

Environment Information

FF! 9.4.0-20251224.042337: frank2example
Running on frank2example-frankframework-5466fd8bc5-jr8nl using Apache Tomcat/11.0.15
Java Version: OpenJDK Runtime Environment (21.0.9+10-LTS)
Heap size: 264.3 MiB, total JVM memory: 352.0 MiB
Free memory: 87.7 MiB, max memory: 12.5 GiB
Free disk space: 105.8 GiB, total disk space: 123.9 GiB
Up since: 2026-01-16 10:49:14, timezone: Etc/UTC

Steps To Reproduce

First send something to the queue

Then go to browse, set the destination and press send.

Configuration

<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
  <!-- Sender Adapter -->
  <Adapter name="ArtemisSender" description="Send test messages to Artemis">
      <Receiver>
          <JavaListener name="stom" serviceName="artemis-test-sender"/>
      </Receiver>
      <Pipeline>
          <SenderPipe name="send2artemis">
              <JmsSender 
                  queueConnectionFactoryName="jms/artemis"
                  destinationName="test.queue"/>
          </SenderPipe>
          <Exit name="EXIT" state="SUCCESS"/>
      </Pipeline>
  </Adapter>
  
  <!-- Listener Adapter -->
  <Adapter name="ArtemisListener" description="Receive messages from Artemis">
      <Receiver>
          <JmsListener 
              queueConnectionFactoryName="jms/artemis"
              destinationName="test.queue"
              acknowledgeMode="AUTO"/>
      </Receiver>
      <Pipeline>
          <EchoPipe name="echo message"/>
          <Exit name="EXIT" state="SUCCESS"/>
      </Pipeline>
  </Adapter>
</Configuration>

Input

No response

What database are you using?

No response

What browsers are you seeing the problem on?

Firefox

Relevant Log Output

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions