Questions tagged [apollo]

Apollo is a GraphQL client and cache for JavaScript, iOS (Swift) and Android.

Apollo is a flexible, fully-featured client for every platform.

Apollo is made up of a family of technologies you can incrementally add to your stack: Apollo Client to connect data to your UI, Apollo Engine for infrastructure and tooling, and Apollo Server to translate your REST API and backends into a GraphQL schema.

It has implementations for JavaScript, iOS and Android. The JavaScript client has integrations for React, Angular, Vue.js, Ember.js and more.

Apollo is fully compatible with any server that implements the GraphQL specification.

4536 questions
2
votes
1 answer

Apollo updateQueries Not Called?

I'm studying Apollo pub-sub in GitHunt-React and GitHunt-API. When I run those apps and enter a new comment, the comment is saved by the call to submit, and then the updateQueries codeblock runs here: const CommentsPageWithMutations =…
VikR
  • 4,818
  • 8
  • 51
  • 96
2
votes
1 answer

Using Sequelize with ES6 Promises?

I'm using Sequelize to connect to a Postgres database. I have this code: return Promise.resolve() .then(() => { console.log('checkpoint #1'); const temp = connectors.IM.create(args); return temp; }) .then((x) =>…
VikR
  • 4,818
  • 8
  • 51
  • 96
2
votes
2 answers

How to solve Go-Stomp read timeout

Try subscribing ActiveMQ(Apollo) using Go-Stomp, but I am having a read timeout error. My app should be alive 24 hours per day to process the incoming messages. Question : Is there a way to keep the subscription although there is no more message…
Rudy
  • 7,008
  • 12
  • 50
  • 85
2
votes
1 answer

Apollo Publish & Subscribe Error: Cannot Query Field?

I'm working on learning the new Apollo pubsub code, using examples from GitHunt-API and GitHunt-React. When I call subscribe on the client, I'm getting the console log error: "Cannot query field "createIM" on type "Subscription". I've tried to…
VikR
  • 4,818
  • 8
  • 51
  • 96
2
votes
0 answers

Angular2 Tutorial with Apollo Integration

I successfully worked through the Angular2 tutorial. Now I want to replace the HTTP server from the last step with an Apollo-GraphQL server (http://docs.apollostack.com/apollo-client/angular2.html). I added the Apollo-dependencies to my…
2
votes
1 answer

What is the `foo => ({...})` construct in Apollo options functions?

For example: apolloServer(request => ({ schema: typeDefinitionArray, graphiql: true, context: request.session })) http://docs.apollostack.com/apollo-server/tools.html I know => means es6 function with bound this, but what does the () after…
Loren
  • 13,903
  • 8
  • 48
  • 79
2
votes
2 answers

Why MQTT slows so much with QoS = 1?

I'm trying to write an application controlling a swarm of robots via WiFi and MQTT protocol. I have performed some tests to measure will it be fast enough for my application. I would like to have a control loop (a message going from a PC to robot…
mactro
  • 518
  • 7
  • 13
2
votes
1 answer

Dynamic destination in Apache Apollo MQ

Is there a way to authorize destinations with Apache Apollo MQ? What I would like is to make it so that 1) users may write only to a shared topic but restrict read to an server/admin. This topic is to send messages to a server. 2) Users may read…
redboy
  • 599
  • 1
  • 8
  • 18
2
votes
2 answers

Conversion from MQTT to AMQP/STOMP

I'm kind of new to these protocols, and just started exploring Message brokers like Apache Apollo and RabbitMQ. So my broker receives MQTT messages from a publisher. And I would like to convert it into AMQP (preferably) or STOMP protocol to send to…
Srihari S
  • 111
  • 1
  • 2
  • 10
2
votes
0 answers

Apollo MQ and stomp.py

There is some way to connect to Apollo MQ autheticated channels using stomp.py library? We migrated from ActiveMQ to ApolloMQ and all our listeners can't connect to Apollo queues.
Andre Pastore
  • 2,841
  • 4
  • 33
  • 44
2
votes
3 answers

Apache Apollo Examples JAVA

Can any one provide example on Apache Apollo Queue producer and consumer from JAVA ? Earlier I was using Apache ActiveMQ but now I want to migrate.
Learn More
  • 1,535
  • 4
  • 29
  • 51
2
votes
2 answers

Seriously confused: has ActiveMQ dropped support for connection pooling?

I'm new to ActiveMQ (we use Apollo for the broker). Everything I read says to use org.apache.activemq.pool.PooledConnectionFactory for connection pool, except that class does not exist in activemq-all-5.5.0.jar. According to jarfinder.com that class…
Gerry
  • 1,031
  • 1
  • 14
  • 30
2
votes
3 answers

apache apollo mq with .NET

I need to work with the queue in my ASP.NET MVC application. I looking for the fastest implementation, google a little bit, looking through some benchmark and found that for the current moment Apache Apollo MQ is fastest solution across message…
Ph0en1x
  • 9,943
  • 8
  • 48
  • 97
2
votes
1 answer

How can I get access to the InOut behaviour in a Custom Camel Component (Apollo)

I am busy developing a Camel Component for Apollo using the HawtDispatch Apollo Client library for Scala. I am successful with sending and receiving of messages from queues and topics but I do not know how I can determine that the current producer…
2
votes
1 answer

ActiveMQ to Apollo transition, Openwire to Stomp protocol configuration

I'm trying to switch from ActiveMQ 5.6 to Apollo 1.5. I have two soft that are exchanging messages, using publish/subscribe on topics. The first one is c++ and use openwire with tcp The second one is Javascript and use stomp with websockets With…
Typedef
  • 169
  • 1
  • 11