steverao opened a new issue, #5835:
URL: https://github.com/apache/rocketmq/issues/5835

   **FEATURE REQUEST**
   
   RocketMQ Client support run in GraalVM environment. it can't run now. You 
can reproduce this issue by following these steps:
   Prerequisites Start RocketMQ broker and nameserver
   
   1. Download the Spring Cloud Alibaba project, switch to the 2022.x branch, 
enter the `rocketmq-broadcast-producer-example` module, enter the pom.xml file 
and add below configuration  to the `native-maven-plugin` plugin.
    ```
   <buildArgs>
    --trace-class-initialization=org.apache.commons.logging.LogFactoryService
   </buildArgs> 
   ```
   3. Execute `mvn clean -Pnative spring-boot:run`. After the application 
starts, it will scan the code dynamic properties. After about 10 seconds, stop 
the application through control+C, and there will be a `META-INF.native` in the 
resources directory. image directory, there will be a static configuration file 
corresponding to the dynamic properties of the code below. You need to enter 
the `reflect-config.json` file to delete the corresponding item of 
`org.springframework.integration.config.ConverterRegistrar$IntegrationConverterRegistration`.
   4. Execute `mvn clean -Pnative native:compile` to build the native image. If 
it goes well, it will be built successfully, and then 
`target/rocketmq-broadcast-producer-example` should start the application and 
the problem should be reproduced.
   
![image](https://user-images.githubusercontent.com/25423978/210939807-16d8a57b-80de-4964-832f-e46adfb08672.png)
   
   


-- 
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]

Reply via email to