锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-paulwonghttp://www.8634070.com/paulwong/zh-cnTue, 11 Jun 2019 02:37:31 GMTTue, 11 Jun 2019 02:37:31 GMT60zip4jhttp://www.8634070.com/paulwong/archive/2019/06/10/433851.htmlpaulwongpaulwongMon, 10 Jun 2019 08:47:00 GMThttp://www.8634070.com/paulwong/archive/2019/06/10/433851.htmlhttp://www.8634070.com/paulwong/comments/433851.htmlhttp://www.8634070.com/paulwong/archive/2019/06/10/433851.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433851.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433851.htmlhttps://rensanning.iteye.com/blog/1836727



paulwong 2019-06-10 16:47 鍙戣〃璇勮
]]>
Message Processing With Spring Integrationhttp://www.8634070.com/paulwong/archive/2019/06/05/433840.htmlpaulwongpaulwongWed, 05 Jun 2019 03:08:00 GMThttp://www.8634070.com/paulwong/archive/2019/06/05/433840.htmlhttp://www.8634070.com/paulwong/comments/433840.htmlhttp://www.8634070.com/paulwong/archive/2019/06/05/433840.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433840.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433840.html
https://dzone.com/articles/message-processing-spring



paulwong 2019-06-05 11:08 鍙戣〃璇勮
]]>
Spring integration 鍩烘湰姒傚康http://www.8634070.com/paulwong/archive/2019/06/05/433839.htmlpaulwongpaulwongWed, 05 Jun 2019 02:36:00 GMThttp://www.8634070.com/paulwong/archive/2019/06/05/433839.htmlhttp://www.8634070.com/paulwong/comments/433839.htmlhttp://www.8634070.com/paulwong/archive/2019/06/05/433839.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433839.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433839.html

1.spring integration 's architecture

涓昏鎻愪緵涓?#28051;?#37716;熻兘锛?/p>

鍦ㄧ郴缁熷唴鎻愪緵瀹炵幇杞婚噺绾?#37510;佷簨浠堕┍鍔ㄤ氦浜掕涓虹殑妗嗘灦

鍦ㄧ郴缁熼棿鎻愪緵涓绉?#37737;?#27996;庨傞?#23941;櫒?#27537;骞?#37721;?#38171;?#28000;?#37824;寔鐏垫椿?#27537;?#37108;缁熼棿?#27686;浜?/p>

2.spring integration瀵?#27996;?#28028;?#28051;?#38342;嗘垚妯″紡?#27537;鏀寔

2.1Message锛?#28051;涓俊鎭殑鍗曞厓锛岄氬父鏈夋秷鎭?#28598;?#38171;坔eader锛夊拰?#31223;鎭唴瀹?#38171;坧ayload锛?#32513;勬垚

2.2Message channel锛氭秷鎭?#28598;勭?#21978;妭鐐?#28052;嬮棿鐨勮?#28852;帴锛岃?#29115;矗?#30370;Message浠庣敓浜?#38000;?#28028;?#26440;撳埌?#31223;璐?#38000;呫?/p>

    鏍规嵁?#31223;璐?#38000;呯殑澶氬皯锛?#37721;?#37714;?#28051;簆oint to point?#25328;publish-subscribe涓?#32457;?/p>


    鏍规嵁?#31223;鎭?#28028;?#26440;?#37826;瑰紡?#27537;涓嶅悓锛屽垎涓?#37722;屾?#25328;?#32019;姝?#28051;?#32457;?/p>

2.3Message Endpoint锛氭秷鎭?#28598;勭?#21978;妭鐐?#38171;屾秷鎭?#28000;庤妭鐐?#26473;?#37711;?#38315;氶亾锛?#28052;?#37828;?#28000;庤妭鐐?#32450;诲紑閫氶亾

鍑?#28051;父瑙佺殑Message EndPoint锛?/p>

CHANNEL ADAPTER锛岀敤浜?#26473;炴帴璇?#38315;傞?#23941;櫒?#27537;鐗?#37904;规槸鍗曞?#25118;秷鎭祦?#27537;锛岃涔堟槸?#31223;鎭?#38315;?#26473;?#29831;?#38315;傞?#23941;櫒杩?#37711;?#38315;氶亾锛岃涔堟槸?#31223;鎭?#38315;?#26473;?#29831;?#38315;傞?#23941;櫒绂诲紑閫氶亾


MESSAGING GATEWAY锛?#28598;勭?#21977;殑?#31223;鎭祦?#25328;Channel Adapter涓嶅悓锛?#28051;?#37828;?#37719;曞?#25120;殑锛?#37719;?#37832;?#26473;?#37711;?#29831;ヨ妭鐐圭殑?#31223;鎭?#38171;?#28052;?#28028;?#28000;?#29831;ヨ妭鐐?#37721;?#37713;烘秷鎭?#37510;?br />



SERVICE ACTIVATOR锛?#29831;ヨ妭鐐硅?#20906;敤鏈?#37716;?#37833;?#28598;勭?#21978;?#25779;叆?#27537;?#31223;鎭?#38171;?#39582;?#28751;嗘湇鍔?#26473;?#37733;炵殑鏁版嵁鍙?#38315;佸埌杈撳嚭閫氶亾銆傚湪spring integration涓?#38171;岃?#20906;敤?#27537;鏂规?#26337;闄?#28729;?#28051;烘湰鍦?#37826;规硶璋冪敤銆?br />


ROUTER锛岃矾鐢?#37731;?#38171;屽?#21978;?#25779;叆?#27537;?#31223;鎭矾鐢卞埌鏌?#28051;?#26440;撳嚭閫氶亾涓?/p>


SPLITTER锛屽?#21978;?#25779;叆?#27537;?#31223;鎭媶鍒嗘垚瀛愭秷鎭?br />


AGGREGATOR锛屽?#21978;?#25779;叆?#27537;澶?#28051;秷鎭?#37722;?#39582;?#28051;?#28051;涓秷鎭?br />


3.瑙傜湅涔?#28051;?#28186;?#28699;恏ello-world鎬?#38000;?/p>

娴?#29831;昰ateway鏃?#38171;?#28051;嬮潰浠g爜鍚?#38315;氶亾names?#21812;鏀?#37711;ユ秷鎭痺orld锛?/p>


鐒?#37722;巗ervice-activator浠巒ames閫氶亾涓幏寰楁秷鎭痺orld锛岃?#20906;敤鏂规?#26180;ayHello杩?#37733;?#37706;煎埌缁檊ateway锛?/p>

瑙i噴锛歡ateway鏈?#28051;涓猻ervice锛峣nterface?#27537;灞炴?#38171;?#26473;?#28051;?#28766;炴?#37816;?#37722;?#28051;涓猧nterface銆傚綋鎴?#28000;敤涓涓帴鍙e0鏄?#28051;涓猤ateway鏃?#38171;宻pring integration浼氳嚜鍔?#29999;?#37812;?#28000;敓?#22426;璇ユ帴鍙g殑浠?#37918;嗙被锛?#26473;?#37837;峰綋鎴?#28000;?#23536;gateway鍙?#38315;佹秷鎭?#37827;?#38171;宻pring integration浼氶?#26473;?#28000;?#37918;嗙?#32472;妸?#31223;鎭?#26462;?#37721;戝埌default锛峳equest锛峜hannel涓?#37720;?/p>



浣?#38000;?#38171;氶┈鍥?#37837;?br /> 閾炬帴锛歨ttps://www.jianshu.com/p/bf1643539f99
鏉ユ簮锛氱畝涔?br /> ?#30045;涔﹁憲浣?#37833;?#35120;?#28003;?#38000;呮墍鏈?#38171;?#28000;?#28003;曞艦?#32033;鐨勮浆杞介兘璇疯仈?#37108;浣?#38000;呰幏寰?#37818;堟潈骞?#23049;?#37828;?#37713;?#28598;?#37510;?/div>

paulwong 2019-06-05 10:36 鍙戣〃璇勮
]]>
濡?#28003;?#37734;⊿PRING INTEGRATION涓?#28003;跨敤?#31784;鍔?/title><link>http://www.8634070.com/paulwong/archive/2019/06/04/433836.html</link><dc:creator>paulwong</dc:creator><author>paulwong</author><pubDate>Tue, 04 Jun 2019 06:19:00 GMT</pubDate><guid>http://www.8634070.com/paulwong/archive/2019/06/04/433836.html</guid><wfw:comment>http://www.8634070.com/paulwong/comments/433836.html</wfw:comment><comments>http://www.8634070.com/paulwong/archive/2019/06/04/433836.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/paulwong/comments/commentRss/433836.html</wfw:commentRss><trackback:ping>http://www.8634070.com/paulwong/services/trackbacks/433836.html</trackback:ping><description><![CDATA[<div>File Polling using the Spring Integration DSL</div> <a href="http://porterhead.blogspot.com/2016/07/file-polling-using-spring-integration.html" target="_blank">http://porterhead.blogspot.com/2016/07/file-polling-using-spring-integration.html</a><img src ="http://www.8634070.com/paulwong/aggbug/433836.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/paulwong/" target="_blank">paulwong</a> 2019-06-04 14:19 <a href="http://www.8634070.com/paulwong/archive/2019/06/04/433836.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SpringBoot浣跨敤MongoDB寮傚父闂http://www.8634070.com/paulwong/archive/2019/05/29/433819.htmlpaulwongpaulwongWed, 29 May 2019 08:58:00 GMThttp://www.8634070.com/paulwong/archive/2019/05/29/433819.htmlhttp://www.8634070.com/paulwong/comments/433819.htmlhttp://www.8634070.com/paulwong/archive/2019/05/29/433819.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433819.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433819.htmlhttps://www.cnblogs.com/linzhanfly/p/9674778.html

paulwong 2019-05-29 16:58 鍙戣〃璇勮
]]>
MONGODB鍘婚櫎_class瀛楁http://www.8634070.com/paulwong/archive/2019/05/29/433818.htmlpaulwongpaulwongWed, 29 May 2019 06:18:00 GMThttp://www.8634070.com/paulwong/archive/2019/05/29/433818.htmlhttp://www.8634070.com/paulwong/comments/433818.htmlhttp://www.8634070.com/paulwong/archive/2019/05/29/433818.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433818.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433818.html
MongodbConfiguration.java
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.MongoDbFactory;
import org.springframework.data.mongodb.core.convert.DbRefResolver;
import org.springframework.data.mongodb.core.convert.DefaultDbRefResolver;
import org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper;
import org.springframework.data.mongodb.core.convert.MappingMongoConverter;
import org.springframework.data.mongodb.core.mapping.MongoMappingContext;
 
@Configuration
public class AppMongoConfig {
  @Autowired private MongoDbFactory mongoDbFactory;
 
  @Autowired private MongoMappingContext mongoMappingContext;
 
  @Bean
  public MappingMongoConverter mappingMongoConverter() {
 
    DbRefResolver dbRefResolver = new DefaultDbRefResolver(mongoDbFactory);
    MappingMongoConverter converter = new MappingMongoConverter(dbRefResolver, mongoMappingContext);
    converter.setTypeMapper(new DefaultMongoTypeMapper(null));
 
    return converter;
  }
}


paulwong 2019-05-29 14:18 鍙戣〃璇勮
]]>
JAVA 8 TIMEhttp://www.8634070.com/paulwong/archive/2019/05/09/433761.htmlpaulwongpaulwongThu, 09 May 2019 02:15:00 GMThttp://www.8634070.com/paulwong/archive/2019/05/09/433761.htmlhttp://www.8634070.com/paulwong/comments/433761.htmlhttp://www.8634070.com/paulwong/archive/2019/05/09/433761.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433761.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433761.htmlJava 8鏂?#37911;规?#38171;?#37733;?#38171;?#38171;氭?#25198;殑鏃堕棿?#25328;鏃?#37832;烝PIhttps://lw900925.github.io/java/java8-newtime-api.html
 

paulwong 2019-05-09 10:15 鍙戣〃璇勮
]]>
SPRING BOOT BATCH璧勬簮http://www.8634070.com/paulwong/archive/2019/05/07/433753.htmlpaulwongpaulwongTue, 07 May 2019 09:07:00 GMThttp://www.8634070.com/paulwong/archive/2019/05/07/433753.htmlhttp://www.8634070.com/paulwong/comments/433753.htmlhttp://www.8634070.com/paulwong/archive/2019/05/07/433753.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433753.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433753.html Spring Boot涓婼pring Batch鍏?#38338;?#28729;?#28186;?/div> https://www.jianshu.com/p/305192ea4cb1
 

SPRING BATCH + QUARTZ
https://examples.javacodegeeks.com/enterprise-java/spring/batch/quartz-spring-batch-example/
https://blog.kingbbode.com/posts/spring-batch-quartz

Spring Batch Tutorial: Batch Processing Made Easy with Spring
https://www.toptal.com/spring/spring-batch-tutorial

paulwong 2019-05-07 17:07 鍙戣〃璇勮
]]>
浠ユ祦?#27537;鏂瑰紡瑙i噴?#27861;澶SON鏂?#28000;?/title><link>http://www.8634070.com/paulwong/archive/2019/05/03/433743.html</link><dc:creator>paulwong</dc:creator><author>paulwong</author><pubDate>Fri, 03 May 2019 07:22:00 GMT</pubDate><guid>http://www.8634070.com/paulwong/archive/2019/05/03/433743.html</guid><wfw:comment>http://www.8634070.com/paulwong/comments/433743.html</wfw:comment><comments>http://www.8634070.com/paulwong/archive/2019/05/03/433743.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/paulwong/comments/commentRss/433743.html</wfw:commentRss><trackback:ping>http://www.8634070.com/paulwong/services/trackbacks/433743.html</trackback:ping><description><![CDATA[<a href="https://www.ngdata.com/parsing-a-large-json-file-efficiently-and-easily/" target="_blank">https://www.ngdata.com/parsing-a-large-json-file-efficiently-and-easily/<br /><br /><br /></a><a href="https://sites.google.com/site/gson/streaming">https://sites.google.com/site/gson/streaming<br /><br /></a><a href="http://www.acuriousanimal.com/2015/10/23/reading-json-file-in-stream-mode-with-gson.html">http://www.acuriousanimal.com/2015/10/23/reading-json-file-in-stream-mode-with-gson.html<br /><br /></a><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->    <span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">static</span> <span style="color: #0000FF; ">void</span> main(String [] args) <span style="color: #0000FF; ">throws</span> IOException {<br />        String filePath = "C:big-data.json";<br />        FileInputStream in = <span style="color: #0000FF; ">new</span> FileInputStream(<span style="color: #0000FF; ">new</span> File(filePath));<br />        JsonReader reader = <span style="color: #0000FF; ">new</span> JsonReader(<span style="color: #0000FF; ">new</span> InputStreamReader(in, "UTF-8"));<br />        Gson gson = <span style="color: #0000FF; ">new</span> GsonBuilder().create();<br /><span style="color: #008000; ">//</span><span style="color: #008000; ">        reader.beginObject();<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; ">        reader.nextName();</span><span style="color: #008000; "><br /></span>        reader.beginObject();<span style="color: #008000; ">//</span><span style="color: #008000; ">璺?#26473;?{"</span><span style="color: #008000; "><br /></span>        <span style="color: #0000FF; ">while</span> (reader.hasNext()) {<br />            <span style="color: #008000; ">//</span><span style="color: #008000; "> Read data into object model</span><span style="color: #008000; "><br /></span>            JsonToken jsonToken = reader.peek();<br />            <span style="color: #0000FF; ">if</span>(jsonToken.equals(JsonToken.NAME)) {<br />                String name = reader.nextName();<br />                <span style="color: #0000FF; ">if</span>(name.equalsIgnoreCase("SUMMARY")) {<br /><span style="color: #008000; ">//</span><span style="color: #008000; ">                    reader.beginObject();</span><span style="color: #008000; "><br /></span>                    Summary summary = gson.fromJson(reader, Summary.<span style="color: #0000FF; ">class</span>);<br />                    logger.info(summary.toString());<br />                    <span style="color: #0000FF; ">break</span>;<br /><span style="color: #008000; ">//</span><span style="color: #008000; ">                    reader.endObject();</span><span style="color: #008000; ">//</span><span style="color: #008000; ">璺?#26473;?}"</span><span style="color: #008000; "><br /></span>                }<br />            } <span style="color: #008000; ">/*</span><span style="color: #008000; ">else if(jsonToken.equals(JsonToken.BEGIN_OBJECT)) {<br />                reader.beginObject();<br />            } else if(jsonToken.equals(JsonToken.STRING)) {<br />                logger.info(reader.nextString());<br />            } else if(jsonToken.equals(JsonToken.NUMBER)) {<br />                logger.info(reader.nextInt() + "");<br />            } else if(jsonToken.equals(JsonToken.END_OBJECT)) {<br />                reader.endObject();<br />            } </span><span style="color: #008000; ">*/</span><br /><span style="color: #008000; ">//</span><span style="color: #008000; ">            Summary summary = gson.fromJson(reader, Summary.class);<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; ">            break;</span><span style="color: #008000; "><br /></span>        }<br />        reader.close();<br />    }</div><img src ="http://www.8634070.com/paulwong/aggbug/433743.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/paulwong/" target="_blank">paulwong</a> 2019-05-03 15:22 <a href="http://www.8634070.com/paulwong/archive/2019/05/03/433743.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瀹氭椂浠?#37716;?#32480;?#37918;嗙郴缁熻?#21228;簮http://www.8634070.com/paulwong/archive/2019/04/25/433732.htmlpaulwongpaulwongThu, 25 Apr 2019 09:03:00 GMThttp://www.8634070.com/paulwong/archive/2019/04/25/433732.htmlhttp://www.8634070.com/paulwong/comments/433732.htmlhttp://www.8634070.com/paulwong/archive/2019/04/25/433732.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433732.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433732.htmlSpringBoot 鏁?#37722;?Quartz 瀹炵幇瀹氭椂浠?#37716;?#32480;?#37918;嗘ā?#28513;https://juejin.im/post/5a7157f56fb9a01cb049a158

paulwong 2019-04-25 17:03 鍙戣〃璇勮
]]>
双色球直播吧
<div id="k0jz6"><tr id="k0jz6"></tr></div>
    <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
    <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
    <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
      <div id="k0jz6"></div>

      <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>
        <div id="k0jz6"><tr id="k0jz6"></tr></div>
          <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
          <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
          <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
            <div id="k0jz6"></div>

            <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>
              末平分野5手游戏 王者荣耀新版兰陵王教学 东方6+1开奖结果查询结果 21点洗牌机 空战英豪电子游戏 极速十一选五是谁开的 劲爆篮球怎么玩 手游棋牌代理 古墓奇兵客服 虎牙主机游戏怎么直播