問題タブ [mule-studio]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
mule - Mule を使用して REST over HTTP 経由で複数のファイルをアップロードする方法は?
たくさんのファイルがある「MyFiles」というフォルダーがあります。これらのファイルを REST over HTTP 経由でアップロードする必要があります。アプローチはどうなりますか?
以下で試してみましたがダメでした
助けてください。入力フォルダーには複数のファイルがあるため、どうすればそれを実現できますか?
ありがとう
mule - 定期的にファイル アップローダを呼び出す Quartz コンポーネントを使用してサービスをスケジュールする方法は?
これは私の以前の質問の拡張です。How to upload multiple files via REST over HTTP using Mule? . 要件は、毎週水曜日の午前 10 時にファイルをアップロードする必要があることです。今後、これを達成するためのスケジューラが必要です。そして、Cron Expression を使用した「Quartz」インバウンド コンポーネントが解決策であることがわかりました。
しかし、どうすればそうできますか?2つの「インバウンドエンドポイント」(クォーツとファイル)を持つことができないため、例
実行するとエラーが発生します
スレッド「メイン」での例外 org.mule.module.launcher.DeploymentInitException: SAXParseException: cvc-complex-type.2.4.a: 要素「file:inbound-endpoint」で始まる無効なコンテンツが見つかりました。
それで、私がする必要がある変更は何ですか?
助けてください
mule - CLI(コマンドラインインターフェイス)からMuleジョブをトリガーする方法は?
定期的にRESTリクエストを行い、データをPostgreSQLデータベースに保存する以下のフローがあります。
これは正常に機能しますが、CLI(コマンドラインインターフェイス)からジョブをトリガーする方法が必要です。
どうすればいいですか?
前もって感謝します
curl - curlを使用してコマンドラインインターフェイス(CLI)からMuleのファイルインバウンドエンドポイントを呼び出す方法は?
以下のフローを使用して、複数のファイルをソースから宛先に移動/アップロードしようとしています(FTPやファイルアウトバウンドなど)。
このようにする理由は、CURLを使用してCLI(コマンドラインインターフェイス)からジョブを呼び出したいためです。
しかし、私は以下のエラーを受け取ります
エラー:
スレッド「main」の例外org.mule.module.launcher.DeploymentInitException:SAXParseException:cvc-complex-type.2.4.b:要素「flow」のコンテンツが完全ではありません。'{" http://www.mulesoft.org/schema/mule/core":abstract-message-processor、 " http://www.mulesoft.org/schema/mule/core":abstract-outbound-の1つエンドポイント、「http://www.mulesoft.org/schema/mule/core」:abstract-mixed-content-message-processor、「http://www.mulesoft.org/schema/mule/coreフロー」は完了していません。の一つ '{"http://www.mulesoft.org/schema/mule/core ":abstract-message-processor、" http://www.mulesoft.org/schema/mule/core ":abstract-outbound-endpoint、" http: //www.mulesoft.org/schema/mule/core ":abstract-mixed-content-message-processor、" http://www.mulesoft.org/schema/mule/corecolumnNumber:8; cvc-complex-type.2.4.b:要素'flow'の内容が完全ではありません。の一つ '{"http://www.mulesoft.org/schema/mule/core ":abstract-message-processor、" http://www.mulesoft.org/schema/mule/core ":abstract-outbound-endpoint、" http: //www.mulesoft.org/schema/mule/core ":abstract-mixed-content-message-processor、" http://www.mulesoft.org/schema/mule/coreネストされた例外はorg.xml.sax.SAXParseExceptionです。lineNumber:11; columnNumber:8; cvc-complex-type.2.4.b:要素'flow'の内容が完全ではありません。の一つ '{"http://www.mulesoft.org/schema/mule/core ":abstract-message-processor、" http://www.mulesoft.org/schema/mule/core ":abstract-outbound-endpoint、" http: //www.mulesoft.org/schema/mule/core ":abstract-mixed-content-message-processor、" http://www.mulesoft.org/schema/mule/core":response}'が必要です。org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:117)at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116)at org.mule.config .spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73)at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46)... 11 more原因:org.springframework.beans.factory.xml。 XmlBeanDefinitionStoreException:URL [file:/ D:/MuleStudioExperiment/FileTransferUsingHTTP/.mule/apps/test/test.xml]のXMLドキュメントの11行目が無効です。ネストされた例外はorg.xml.sax.SAXParseException; lineNumber:11; columnNumber :8; cvc-complex-type.2.4.b:要素'flow'の内容が完全ではありません。の一つ '{"http://www.mulesoft.org/schema/mule/core ":abstract-message-processor、" http://www.mulesoft.org/schema/mule/core ":abstract-outbound-endpoint、" http: //www.mulesoft.org/schema/mule/core ":abstract-mixed-content-message-processor、" http://www.mulesoft.org/schema/mule/coreAbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89)at org .mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109)... 14 more原因:org.xml.sax.SAXParseException; lineNumber:11; columnNumber:8; cvc-complex-type.2.4.b:要素'flow'の内容が完全ではありません。の一つ '{" mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109)... 14 more原因:org.xml.sax.SAXParseException; lineNumber:11; columnNumber:8; cvc-complex-type.2.4.b:要素'flow'の内容が完全ではありません。の一つ '{" mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109)... 14 more原因:org.xml.sax.SAXParseException; lineNumber:11; columnNumber:8; cvc-complex-type.2.4.b:要素'flow'の内容が完全ではありません。の一つ '{"http://www.mulesoft.org/schema/mule/core ":abstract-message-processor、" http://www.mulesoft.org/schema/mule/core ":abstract-outbound-endpoint、" http: //www.mulesoft.org/schema/mule/core ":abstract-mixed-content-message-processor、" http://www.mulesoft.org/schema/mule/core":response}'が必要です。org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)at org.apache.xerces.impl.XMLErrorReporter .reportError(Unknown Source)at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)at org.apache.xerces.impl.xs.XMLSchemaValidator $ XSIErrorReporter.reportError(Unknown Source)at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType(Unknown Source)at org.apache.xerces org.apache.xerces.impl.xsの.impl.xs.XMLSchemaValidator.elementLocallyValidType(不明なソース)。XMLSchemaValidator.processElementContent(Unknown Source)at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source)at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)atorg.apache.xerces。 impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl $ FragmentContentDispatcher.dispatch(Unknown Source)at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)at org.apache.xer parsers.XML11Configuration.parse(Unknown Source)at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)atorg.apache.xerces.parsers。 org.apache.xerces.jaxp.DocumentBuilderImplのDOMParser.parse(Unknown Source)。parse(Unknown Source)at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
助けてください
mule - ファイルコネクタの奇妙な動作
以下のフローがあります
ここで、「C:\ input」に(1.txt、2.txt、myimg.jpgなど)というファイルがあるとします。
フローを実行している間、ファイル転送は宛先フォルダー「C:\ outputfile」に行われますが、ファイルはdatファイルに変換されています。
では、問題とその解決方法は何ですか?
前もって感謝します
spring - トランザクションのミュールフローで複数のhttp Webサービスを呼び出す方法は?
私はラバが初めてです。春の冬眠ラバのセットアップがあります。3 つの Web サービスがあるとします。目的は、これらすべての Web サービスを Mule フローで呼び出して、3 つすべてがトランザクションに含まれるようにすることです。そのため、3 番目の Web サービスが失敗した場合、前の 2 つは自動的にロールバックされるとします。
これが私が試したコードスニペットです。my mule-flow.xml( currently I have only one webservice,kindly let me know how can I add multipe webservice call in flow?
)
私の spring-mule.xml
My:applicationContext-persistence.xml
私のCustomerServiceImpl
解決策を教えてください。ありがとう
mule - Mule から GreenPlum データベースにレコードを挿入するには?
この質問は、How to read CSV file and insert data into PostgreSQL using Mule ESB, Mule Studioのバリエーションです。以前は PostgreSQL がありましたが、現在は GreenPlum データベースに変更されています。ただし、PostgreSQL は Mule Studio でネイティブにサポートされていますが、GreenPlum データベースではサポートされていません。
どうすればこの挿入を行うことができますか?
mule - 以下のフローで問題を修正するにはどうすればよいですか?
私は以下のようなラバの流れを持っています
フローを使用して、ソースから宛先に複数のファイルを移動/アップロードしようとしています (FTP やファイルの送信など、何でもかまいません)。
このようにする理由は、CURL を使用して CLI(Command Line Interface) からジョブを呼び出したいからです。
しかし、それは機能していません....
編集済み
ハード ドライブにある特定のフォルダからいくつかのファイル (複数のファイル) を取得する必要があります。そして、それらをFTPサイトまたは他のハードドライブの場所であるアウトバウンドプロセスに移動します。ただし、このフローは CLI から呼び出す必要があります。
編集済み(Davidの回答に基づく)
私は今、以下のような流れを持っています
私はいくつかの問題を抱えています
a) 次のエラーが表示されます -属性 initialState がフローの有効なプロパティとして定義されていません
ただし、その属性を削除すると、"http://localhost:8080/file-pickup/start"
起動を待たずにフローが続行されます。
b) ファイルが宛先フォルダーに移動されない
では、どうすればそうできますか?
jvm - MuleStudio-JNI共有ライブラリのロードに失敗したエラー
32ビットJDKを使用してWindows7をインストールしています。
MuleStudio.exeを実行しようとすると、次のエラーが発生します。
mule - Mule - メールの受信が機能しない
この質問が以前に提起されたことは知っていますが、今までこの問題の解決策を実際に見つけることができませんでした。
解析のために Outlook Exchange からメッセージを取得しようとしています。
Outlook からメールを取得するための非常に単純なフローがあり、部分的に機能しているようです (適切に認証され、必要なすべてのフォルダーもチェックされますが、IMAP サーバーからメールは取得されません)。
これは私が使用しているフローです...
アプリはエラーなしで実行されているようですが、代わりにメールを取得せず、以下のように永遠にそこにとどまります...誰か助けてもらえますか?
++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++