0

動的バックエンドを使用して GAE キューを実行しようとしています:

Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.withUrl("/parse").method(Method.GET).header("Host",
BackendServiceFactory.getBackendService().getBackendAddress("backend1", 1)));

backends.xml

 <backends>
     <backend name="backend1">
          <class>B2</class>
          <instances>1</instances>
          <options>
              <dynamic>true</dynamic>
          </options>
     </backend>
  </backends>

これにより、バックエンドが自動的に開始されますか? 私はそうは思わない。動的バックエンドをどのように開始しますか?

ありがとう!

4

0 に答える 0