【Java】【ESB】【Mule】Mule ESB 2.x チュートリアルメモ | さすらいびとの徒然漂流記

さすらいびとの徒然漂流記

ふらふら漂流するさすらいびとのように,色々な話題についてお気楽極楽,徒然なるままに…

案件で使うかもってことでちょっと勉強がてら,

チュートリアルをやっていた時のトラブル対応メモ.



【Example】

#1.Configuring an Endpoint

OK



#2.Adding Business Logic to a Flow

5."Mule Message Flow"ではなく"Mule Flow"を選択する
6. "Components"の"Java"を選択する



#3.Adding Message Processors to a Flow

OK



#4.Understanding the Mule Message

Chromeで表示すると例外が出る

Getting started with Mule: Free Training, Videos, Tutorials | Mule ESB


Mule User mailing list



#5.Filtering Invalid Requests

1.#2のMule Flowファイルと同じものを作る
→ 既存のものがあるとConnectionExceptionになる
→ どうやらプロジェクト内のmflowファイルが全て動くらしい(でもってポートがぶち当たる)
→ #2のmflowファイルはリネームしておく



#6.Transforming Data in a Flow

1.#5参照



#7.Invoking Component Methods

Case 2


11."user.serName"ではなく"user.setname"

Case 3


16.Superclassはいらない
17.classが二重になっている,メソッド引数の閉じかっこがない
20."sayHello"ではなく"sayHelloUser"


Case 4


22."exception"ではなく"Exception",nameの後の"がない



コードはイメージの方が正しいので基本イメージ通りにする



#8.Manipulating Requests Using Scripting

未作成?



#9.Controlling the Response to a Client

まだできていない…



#10.Using Outbound Endpoints to Publish Data

OK



#11.Interactions with Exchange Patterns


1.exchange patternはGeneral tabになった
favicon.icoのせいか,どっちもブラウザには表示されない…



#12.Using Async Scope


まだできていない…



#13.Running the Examples From the Management Console


EE版?


#14.Running the Examples With the Example Launcher


EE版?