[
https://issues.apache.org/jira/browse/AMQ-8322?focusedWorklogId=731627&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-731627
]
ASF GitHub Bot logged work on AMQ-8322:
---------------------------------------
Author: ASF GitHub Bot
Created on: 23/Feb/22 15:06
Start Date: 23/Feb/22 15:06
Worklog Time Spent: 10m
Work Description: mattrpav edited a comment on pull request #729:
URL: https://github.com/apache/activemq/pull/729#issuecomment-1048875347
> @mattrpav it seems related to security enforcement we added. But it should
fail on your machine as well.
I agree with you =)
The connection factory is setup without setting trusted packages:
AmqpTestSupport#createJMSConnection()
```
ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory(openwireURI);
return factory.createConnection();
```
.. which defaults to
ClassLoadingAwareObjectInputStream#static{}
```
serializablePackages =
System.getProperty("org.apache.activemq.SERIALIZABLE_PACKAGES","java.lang,org.apache.activemq,org.fusesource.hawtbuf,com.thoughtworks.xstream.mapper").split(",");
```
.. but should be overidden by
AmqpTestSupport#setUp
```
System.setProperty("org.apache.activemq.SERIALIZABLE_PACKAGES",
"java.util");
```
Hmm.. that could be an order of operations problem. I'm going to change the
test to add 'java.util' to the list when it instantiates the connection factory.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 731627)
Time Spent: 9h 10m (was: 9h)
> Implement JMS 2.0 Connection createContext methods
> --------------------------------------------------
>
> Key: AMQ-8322
> URL: https://issues.apache.org/jira/browse/AMQ-8322
> Project: ActiveMQ
> Issue Type: New Feature
> Reporter: Matt Pavlovich
> Assignee: Matt Pavlovich
> Priority: Major
> Labels: #jms2
> Fix For: 5.17.0
>
> Time Spent: 9h 10m
> Remaining Estimate: 0h
>
> Add support for JMSContext, JMSProducer and JMSConsumer for working with
> queues
--
This message was sent by Atlassian Jira
(v8.20.1#820001)