You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2010/02/10 03:13:32 UTC

[jira] Created: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
-----------------------------------------------------------------------------------------------

                 Key: CAMEL-2456
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-jms
    Affects Versions: 2.1.0
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.3.0


Here is the mail thread which discusses about this issue.
http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2456) WARNING log of JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-2456.
---------------------------------

    Resolution: Fixed

> WARNING log of JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57484#action_57484 ] 

Claus Ibsen commented on CAMEL-2456:
------------------------------------

Willem *yes* it will

JMX puts *considerable* overhead on endpoint registration. And temporary endpoints should *newer* be registered in JMX.
The temporary endpoint uses unique uri's and therefore you will keep adding managed endpoints to JMX which end the end will downgrade your system.
All together it impacts performance unnecessary.

We have had such issues in the past where people over days will accumulate millions of endpoints in JMX and cause high memory usage.
In the end causing people to have to shutdown and restart their system.

So please do a -1.

> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57493#action_57493 ] 

Claus Ibsen commented on CAMEL-2456:
------------------------------------

This issue is when the end user is sending using ProducerTemplate the reply manually.

If using Camel request/reply out of the box, Camel will not enlist temporary queues as endpoints. This is good as the overhead is thus only when end user does it manually.

> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-2456) WARNING log of JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CAMEL-2456:
--------------------------------

    Priority: Minor  (was: Major)
     Summary: WARNING log of JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation  (was: JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation)

> WARNING log of JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57483#action_57483 ] 

Willem Jiang commented on CAMEL-2456:
-------------------------------------

Hi Claus

I think we should provide the management for the temporary Queue, as these endpoints are exiting in the camel context.
Client may want to ask managed information about these endpoint.
If we shutdown the camel context , all the camel managed resources are gone, and it will not introduce any further burden. 

> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57485#action_57485 ] 

Willem Jiang commented on CAMEL-2456:
-------------------------------------

Hi Claus,

I checked the code of  JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint and they are singleton endpoint,
and we hit the JMX exception as current Camel only register the singleton endpoint into JMX agent to avoid the situation that you described.

It could be easy to let camel skip these endpoint by checking the ManagedResource annotation, but I still want to know if the singleton endpoint still have the potential JMX issue that you mentioned.


> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) WARNING log of JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57542#action_57542 ] 

Claus Ibsen commented on CAMEL-2456:
------------------------------------

Willem

You current solutions is great. Good work.

> WARNING log of JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57494#action_57494 ] 

Claus Ibsen commented on CAMEL-2456:
------------------------------------

The only problem I see is if the end user uses a lot of different temporary JMS queues with different names as they will then be enlisted in JMX to no avail.

> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57482#action_57482 ] 

Claus Ibsen commented on CAMEL-2456:
------------------------------------

I do NOT think we should enlist temporary JMS queues in JMX
management, the overhead is way to high for that.
Since those queues are temporary they live for a short time and
management is more about long lived resources to manage.

Can we do a -1 on this and implement logic to skip trying to register
those kind of endpoints for management.

> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2456) JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57541#action_57541 ] 

Willem Jiang commented on CAMEL-2456:
-------------------------------------

Hi Claus,

I agree if the user use the ExchangeID as the temporary queue and use that to implement request/reply message exchange pattern, register these kind of temporary queues to JMX agent will be a big issue.

So I reverted my last commit of this issue and find better new way to fix this WARNING log issue.
And now these JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint will not be registered to JMX agent.



> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.