with AMQP and Mission Mobile?
Emit new event for each new message in an AMQP 1.0 queue. See the library example here
Send a new message to an AMQP 1.0 queue. See the library example here
AMQP (Advanced Message Queuing Protocol) is a flexible protocol designed for high-performance messaging. Integrating the AMQP API within Pipedream workflows allows for robust messaging capabilities between various systems and services. You can use it to queue tasks, run asynchronous job processing, and facilitate communication between different parts of your application or different applications altogether. AMQP's reliability and standardization make it a go-to choice for enterprise-level messaging patterns.
export default defineComponent({
props: {
aqmp: {
type: "app",
app: "amqp",
},
},
async run({ steps, $ }) {
// Access required authentication info via:
// this.aqmp.$auth.host
// this.aqmp.$auth.post
// this.aqmp.$auth.username
// this.aqmp.$auth.password
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mission_mobile: {
type: "app",
app: "mission_mobile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clientlogin.missionmobile.net/gateway/xml_account_settings.asp`,
auth: {
username: `${this.mission_mobile.$auth.api_token}`,
password: ``,
},
params: {
guid: `${this.mission_mobile.$auth.account_id}`,
},
})
},
})