[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=296988=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-296988 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 19/Aug/19 02:25 Start Date: 19/Aug/19 02:25 Worklog Time Spent: 10m Work Description: clebertsuconic commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-522376709 @tabish121 can you rebase please? (edit: Never mind: some git-fu and I rebased it myself) if you could check after merged please. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 296988) Time Spent: 2h (was: 1h 50m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 2h > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.utils.collections.TypedProperties.setObjectProperty(TypedProperties.java:1112) > [artemis-commons-2.9.0.jar:2.9.0] > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=296986=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-296986 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 19/Aug/19 02:24 Start Date: 19/Aug/19 02:24 Worklog Time Spent: 10m Work Description: asfgit commented on pull request #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 296986) Time Spent: 1h 50m (was: 1h 40m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 1h 50m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.utils.collections.TypedProperties.setObjectProperty(TypedProperties.java:1112) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.message.impl.CoreMessage.putObjectProperty(CoreMessage.java:1014) > [artemis-core-client-2.9.0.jar:2.9.0] > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=296975=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-296975 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 19/Aug/19 01:03 Start Date: 19/Aug/19 01:03 Worklog Time Spent: 10m Work Description: clebertsuconic commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-522376709 @tabish121 can you rebase please? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 296975) Time Spent: 1h 40m (was: 1.5h) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.utils.collections.TypedProperties.setObjectProperty(TypedProperties.java:1112) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.message.impl.CoreMessage.putObjectProperty(CoreMessage.java:1014) > [artemis-core-client-2.9.0.jar:2.9.0] > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294781=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294781 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 14/Aug/19 14:34 Start Date: 14/Aug/19 14:34 Worklog Time Spent: 10m Work Description: gemmellr commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-521271924 I think this is a reasonable enough thing to do in the circumstance. The properties that would be created are already fairly AMQP interop centric through their names, as the existing related ones already are, so the content being especially so when required doesnt seem particularly odd. Dropping them might work if another way was currently found to preserve them in flight for AMQP recipients, but would be a bit unexpected that some things transit while others silently dont. Rewiring the brokers large message support doesnt seem like a small thing to do, I wouldnt tie this comparatively small issue to that personally. Doing so still wouldnt address the cross-protocol aspect where this issue was actually hit and reported originally. While complex types are usable in others areas such as the annotations section as seen here, AMQP does not permit complex application-properties, so extending Core for that would actually introduce [more?] scope for the same problem in reverse for Core to AMQP and the other protocols, so I dont think I would go there to resolve this either. Even if doing so, any user custom described types would probably still require something along these lines I think (or again, dropping). This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294781) Time Spent: 1.5h (was: 1h 20m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 1.5h > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294588=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294588 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 14/Aug/19 07:54 Start Date: 14/Aug/19 07:54 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-521142429 Just to be clear this is not a negative vote but more im trying to invoke a discussion as there will be an element of once done will be harder to undo if people start relying on it for amqp to core. hoping that others will chime in like @clebertsuconic who was wanting to make amqp large message support native a blocker for a next release anyhow. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294588) Time Spent: 1h 20m (was: 1h 10m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 1h 20m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294529=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294529 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 14/Aug/19 07:02 Start Date: 14/Aug/19 07:02 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-521123570 So i checked, the bridging code (e.g. intra cluster etc) encodes the message natively then embeds inside a core, as such the original message is fully preserved as is. This just then leaves two issue areas: 1) Large Messages 2) Conversion to Core Currently core doesn't support complex types, as such i think its wrong to leach AMQP encoding into core, as people could start relying on that. Either we should support complex types in core properly or we don't support and those are dropped. Reason for this is what occurs when other protocols support complex types we will be left with a legacy of AMQP encoded inside core. Re large messages this just sounds like we simply aren't fully supporting AMQP large messages there are a number of issues i understand in this area, thus why Clebert wanted to make Native large message support a blocker ticket for 2.8 (shame this didnt happen), this is known, either we need to support them or we don't. As such i see a few better options here: 1) Support Large Messages for AMQP fully 2) Support complex types in CORE 3) Support 1 & 2 Im against having a solution that leaks AMQP encoding into CORE. just as much as i know we dont like to modify AMQP in transit. I think this should be a no go area. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294529) Time Spent: 1h 10m (was: 1h) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294524=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294524 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 14/Aug/19 06:48 Start Date: 14/Aug/19 06:48 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-521123570 So i checked, the bridging code (e.g. intra cluster etc) encodes the message natively then embeds inside a core, as such the original message is fully preserved as is. This just then leaves two issue areas: 1) Large Messages 2) Conversion to Core Currently core doesn't support complex types, as such i think its wrong to leach AMQP encoding into core, as people could start relying on that. Either we should support complex types in core properly or we don't support and those are dropped. Reason for this is what occurs when other protocols support complex types we will be left with a legacy of AMQP encoded inside core. Re large messages this just sounds like we simply aren't fully supporting AMQP large messages, this is known, either we need to support them or we don't. As such i see a few better options here: 1) Support Large Messages for AMQP fully 2) Support complex types in CORE 3) Support 1 & 2 Im against having a solution that leaks AMQP encoding into CORE. just as much as i know we dont like to modify AMQP in transit. I think this should be a no go area. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294524) Time Spent: 1h (was: 50m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294182=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294182 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 13/Aug/19 21:02 Start Date: 13/Aug/19 21:02 Worklog Time Spent: 10m Work Description: tabish121 commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-521008001 As reported in the original JIRA when an AMQP message is converted to core that contains complex AMQP types inside annotation sections the converter currently blows up instead of handling the message which is not correct as a core client should still be able to receive the message. For the cases of conversions due to large messages or moving over clusters the current broker again cannot handle those and so this is a reasonable fix as it preserves the AMQP data. If you want to contribute a complete solution such that AMQP to AMQP the message is never converted that would be welcome however until that time a fix is needed. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294182) Time Spent: 50m (was: 40m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294177=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294177 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 13/Aug/19 20:56 Start Date: 13/Aug/19 20:56 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-521005728 Rather than this, would it not be better address those then to avoid the conversion. I know clebert wanted at one time to make amqp large message support a required feature for 2.8.0 obv that didnt happen but maybe doing that and addressing the other bit maybe better than adding further workarounds that will need to be maintained This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294177) Time Spent: 40m (was: 0.5h) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294038=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294038 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 13/Aug/19 17:21 Start Date: 13/Aug/19 17:21 Worklog Time Spent: 10m Work Description: tabish121 commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-520927162 Large messages or messages that travel across a cluster are still converted This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294038) Time Spent: 0.5h (was: 20m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.utils.collections.TypedProperties.setObjectProperty(TypedProperties.java:1112) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.message.impl.CoreMessage.putObjectProperty(CoreMessage.java:1014) > [artemis-core-client-2.9.0.jar:2.9.0]
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=294036=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294036 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 13/Aug/19 17:19 Start Date: 13/Aug/19 17:19 Worklog Time Spent: 10m Work Description: michaelandrepearce commented on issue #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795#issuecomment-520926445 Im a bit lost why this is needed. I thought if amqp in and amqp out we did no conversion This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 294036) Time Spent: 20m (was: 10m) > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.utils.collections.TypedProperties.setObjectProperty(TypedProperties.java:1112) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.message.impl.CoreMessage.putObjectProperty(CoreMessage.java:1014) >
[jira] [Work logged] (ARTEMIS-2437) AMQP message conversion fails if annotations contain values outwith simple property types
[ https://issues.apache.org/jira/browse/ARTEMIS-2437?focusedWorklogId=293986=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-293986 ] ASF GitHub Bot logged work on ARTEMIS-2437: --- Author: ASF GitHub Bot Created on: 13/Aug/19 16:05 Start Date: 13/Aug/19 16:05 Worklog Time Spent: 10m Work Description: tabish121 commented on pull request #2795: ARTEMIS-2437 Allow extended types in annotations in AMQP to Core URL: https://github.com/apache/activemq-artemis/pull/2795 When converting from AMQP to core and back again support annotations that aren't able to be placed into Core message properties by storing the bytes from encoding the types to AMQP encodings and then decoding them again when converting back into AMQP messages. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 293986) Time Spent: 10m Remaining Estimate: 0h > AMQP message conversion fails if annotations contain values outwith simple > property types > - > > Key: ARTEMIS-2437 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2437 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP >Affects Versions: 2.9.0 >Reporter: Jiri Daněk >Assignee: Timothy Bish >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > {noformat} > $ bin/artemis browser --destination example > Consumer:: filter = null > Consumer ActiveMQQueue[example], thread=0 trying to browse 1000 messages > [...] > Consumer ActiveMQQueue[example], thread=0 browsing Alert!!! > Consumer ActiveMQQueue[example], thread=0 browsed: 4 messages > Consumer ActiveMQQueue[example], thread=0 Browser thread finished > {noformat} > In fact, there is 5 messages in the queue, and probably when browsing last > one, the following error is printed to broker stdout. > {noformat} > 2019-07-31 15:07:30,742 ERROR [org.apache.activemq.artemis.core.server] > AMQ224046: Exception while browser handled from > Reference[627]:NON-RELIABLE:AMQPMessage [durable=false, messageID=627, > address=example, size=121, applicationProperties=null, > properties=Properties{messageId=null, userId=null, to='null', subject='null', > replyTo='null', correlationId=null, contentType=null, contentEncoding=null, > absoluteExpiryTime=null, creationTime=null, groupId='null', > groupSequence=null, replyToGroupId='null'}, extraProperties = > TypedProperties[_AMQ_AD=example]]: java.lang.RuntimeException: class > java.util.LinkedHashMap is not a valid property type > at > org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.toCore(AMQPMessage.java:695) > [artemis-amqp-protocol-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:123) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1168) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:510) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$BrowserDeliverer.run(ServerConsumerImpl.java:1484) > [artemis-server-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.9.0.jar:2.9.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) > [artemis-commons-2.9.0.jar:2.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [rt.jar:1.8.0_212] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [rt.jar:1.8.0_212] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.9.0.jar:2.9.0] > Caused by: > org.apache.activemq.artemis.api.core.ActiveMQPropertyConversionException: > class java.util.LinkedHashMap is not a valid property type > at >