[ 
https://issues.apache.org/jira/browse/AMQ-8322?focusedWorklogId=731624&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-731624
 ]

ASF GitHub Bot logged work on AMQ-8322:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Feb/22 15:02
            Start Date: 23/Feb/22 15:02
    Worklog Time Spent: 10m 
      Work Description: mattrpav commented 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 is overidden by
   AmqpTestSupport#setUp
   ```
           System.setProperty("org.apache.activemq.SERIALIZABLE_PACKAGES", 
"java.util");
   ```
   
   


-- 
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: 731624)
    Time Spent: 8h 50m  (was: 8h 40m)

> 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: 8h 50m
>  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)

Reply via email to