Use Java callout to subscribe to JMS topic?

Can I use Java callout to subscribe to external JMS topic (pull) and implement listener logic? in this scenario my callout will include client.listen() code and will respond to events/messages published to the topic it subscribed to. If not, what are the alternatives?

0 1 210
1 REPLY 1

No, don't do that.

A better alternative is to host your logic outside of Apigee Edge. For example, in Google App Engine. Subscribe to the JMS topic, and when you get a notification in YOUR code, you can send a request into the Apigee Edge proxy (or some other HTTPS endpoint).