Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8254029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:04:26+00:00 2026-06-08T01:04:26+00:00

I have a simple Camel application that is tracing to a JMS endpoint. I

  • 0

I have a simple Camel application that is tracing to a JMS endpoint. I am currently experiencing an issue where it appears that the received JMS message is not being acknowledged (It is reading from a queue without any messages being put on it and the current queue depth is not reducing).

Any idea on what may be causing this issue?

Tracing Route

    from("jms.tracer")
        .id("openlink-input-trace")
        .process(new Processor()
        {
            @Override
            public void process(Exchange exchange) throws Exception 
            {
                System.out.println("test");
            }
        });

Spring JMS Config

<bean id="tracerQueueConnFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiTemplate" ref="jndiTemplate" />
    <property name="jndiName" value="${jms.openlink-tracer-queue-qcf.jndiname}" />
</bean>

<bean id="proxyTracerQueueConnFactory" class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
    <property name="targetConnectionFactory" ref="tracerQueueConnFactory" />
    <property name="username" value="${jms.openlink-tracer-queue-qcf.username}" />
    <property name="password" value="${jms.openlink-tracer-queue-qcf.password}" />
</bean>

<bean id="jmsTrace" class="org.apache.camel.component.jms.JmsComponent">
    <property name="connectionFactory" ref="proxyTracerQueueConnFactory" />
    <property name="destinationResolver" ref="jndiResolver" />
</bean>

Spring Endpoint Config

    <endpoint id="jms.tracer"
              uri="jmsTrace:queue:${jms.openlink-tracer-queue.jndiname}" />

EDIT:

This is using TibcoEMS as the broker.

All I can see in the logs is the following:

[2012 Jul 11 11:39:46] DEBUG []
(AbstractPollingMessageListenerContainer.java:313) – Received message
of type [class com.tibco.tibjms.TibjmsObjectMessage] from consumer
[QueueReceiver[queue=f2b.prototype.tracer.queue]] of session
[com.tibco.tibjms.TibjmsSession@16c143]

[2012 Jul 11 11:39:46] DEBUG [] (EndpointMessageListener.java:72) –
Endpoint[jmsTrace://queue:/user_dev/db/us/GTO/CIFramework/S001DEV/f2b.prototype.tracer.queue:queue]
consumer received JMS message: ObjectMessage={ Header={
JMSMessageID={ID:db_us_GTO_CIFramework_S001DEV.20D84FDA9F769B1A97:3}
JMSDestination={Queue[f2b.prototype.tracer.queue]} JMSReplyTo={null}
JMSDeliveryMode={PERSISTENT} JMSRedelivered={false}
JMSCorrelationID={null} JMSType={null} JMSTimestamp={Wed Jul 11
10:53:48 CDT 2012} JMSExpiration={0} JMSPriority={4} } Properties={ }
Object={com.db.cif.tracer.jpa.model.JpaTraceEventMessage@1dfe3f} }

[2012 Jul 11 11:39:46] DEBUG [] (JmsTemplate.java:464) – Executing
callback on JMS Session: com.tibco.tibjms.TibjmsSession@16c143

[2012 Jul 11 11:39:46] DEBUG [] (JmsConfiguration.java:266) – Sending
JMS message to: Queue[f2b.prototype.tracer.queue] with message:
ObjectMessage={ Header={ JMSMessageID={null} JMSDestination={null}
JMSReplyTo={null} JMSDeliveryMode={PERSISTENT} JMSRedelivered={false}
JMSCorrelationID={null} JMSType={null} JMSTimestamp={0}
JMSExpiration={0} JMSPriority={4} } Properties={ }
Object={com.db.cif.tracer.jpa.model.JpaTraceEventMessage@16119a} }

test

[2012 Jul 11 11:39:52] DEBUG []
(AbstractPollingMessageListenerContainer.java:313) – Received message
of type [class com.tibco.tibjms.TibjmsObjectMessage] from consumer
[QueueReceiver[queue=f2b.prototype.tracer.queue]] of session
[com.tibco.tibjms.TibjmsSession@16c143]

[2012 Jul 11 11:39:52] DEBUG [] (EndpointMessageListener.java:72) –
Endpoint[jmsTrace://queue:/user_dev/db/us/GTO/CIFramework/S001DEV/f2b.prototype.tracer.queue:queue]
consumer received JMS message: ObjectMessage={ Header={
JMSMessageID={ID:db_us_GTO_CIFramework_S001DEV.20D84FDA9F769B1A97:4}
JMSDestination={Queue[f2b.prototype.tracer.queue]} JMSReplyTo={null}
JMSDeliveryMode={PERSISTENT} JMSRedelivered={false}
JMSCorrelationID={null} JMSType={null} JMSTimestamp={Wed Jul 11
10:53:50 CDT 2012} JMSExpiration={0} JMSPriority={4} } Properties={ }
Object={com.db.cif.tracer.jpa.model.JpaTraceEventMessage@1d81bc5} }

[2012 Jul 11 11:39:52] DEBUG [] (JmsTemplate.java:464) – Executing
callback on JMS Session: com.tibco.tibjms.TibjmsSession@16c143

[2012 Jul 11 11:39:52] DEBUG [] (JmsConfiguration.java:266) – Sending
JMS message to: Queue[f2b.prototype.tracer.queue] with message:
ObjectMessage={ Header={ JMSMessageID={null} JMSDestination={null}
JMSReplyTo={null} JMSDeliveryMode={PERSISTENT} JMSRedelivered={false}
JMSCorrelationID={null} JMSType={null} JMSTimestamp={0}
JMSExpiration={0} JMSPriority={4} } Properties={ }
Object={com.db.cif.tracer.jpa.model.JpaTraceEventMessage@3b09b4} }

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:04:27+00:00Added an answer on June 8, 2026 at 1:04 am

    I knew I was doing something stupid!

    I took a closer look at the trace messages and realized that tracing was enabled on my context causing my tracer route to be traced and thus a nice little infinite loop.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem Background I am currently working on a camel based ETL application that processes
I have a rather strange problem. I have a very simple application that reads
We have a console application (currently .NET) that sends out mail in bulk to
I have simple php validation form that is halfway working. If you leave the
I have simple win service, that executes few tasks periodically. How should I pass
I have simple issue setting a two-way databinding of a checkbox in Silverlight 3.0.
I have a simple application to store Contacts. This application uses a simple relational
I want to build simple camel application, which will get xml from URL and
I have a simple NOOP file consumer configured in camel as follows: file:///tst?delay=10000&idempotent=false&include=fileMatch&noop=true Normally
I have my web application written in Spring MVC. It is quite simple app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.