Hi everyone! 👋
I'm trying to better understand the limitations of Java Callout in Apigee, especially when working with external libraries. I know that Apigee X does not natively support JMS, but I attempted to create a custom JAR that connects to an ActiveMQ server within a Java Callout policy.
Even though I included all the required dependencies, the JAR fails to execute, consistently throwing an error when calling a specific ActiveMQ library.
{ "fault": { "faultstring": "Failed to execute JavaCallout. org/apache/activemq/command/DestinationInfo", "detail": { "errorcode": "steps.javacallout.ExecutionError" } } }
Or, in some cases:
com.apigee.kernel.exceptions.spi.UncheckedException
What are the exact limitations of Java Callout development in Apigee?
If anyone has encountered similar issues—especially with JMS, ActiveMQ, or other external Java libraries—I’d appreciate any insights or workarounds! 🙌
Has anyone successfully implemented JMS inside an Apigee Java Callout? Any suggestions or best practices would be greatly appreciated! 🚀🔥
Thanks in advance for your help!
Solved! Go to Solution.
I don't know of anyone who has done JMS from within a Java callout. I would say there are better options.
The docs should show what the Java permission restrictions are for a callout. Sorry I don't have the doc link available.
In general if you want to do heavy things like JMS, you should look outside of Apigee.
Good luck!
Hey @marcelobarroso 🙂
We’ve seen that your question hasn’t gotten a response yet. We’ll keep checking in on this thread and encourage other members to share their thoughts.
Thanks for being part of our community!
I don't know of anyone who has done JMS from within a Java callout. I would say there are better options.
The docs should show what the Java permission restrictions are for a callout. Sorry I don't have the doc link available.
In general if you want to do heavy things like JMS, you should look outside of Apigee.
Good luck!
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |