??xml version="1.0" encoding="utf-8" standalone="yes"?>国产一区二区在线视频,欧美肉体xxxx裸体137大胆,欧美综合二区http://www.aygfsteel.com/wumi9527/archive/2015/04/10/424258.htmlxiaolangxiaolangFri, 10 Apr 2015 07:37:00 GMThttp://www.aygfsteel.com/wumi9527/archive/2015/04/10/424258.htmlhttp://www.aygfsteel.com/wumi9527/comments/424258.htmlhttp://www.aygfsteel.com/wumi9527/archive/2015/04/10/424258.html#Feedback0http://www.aygfsteel.com/wumi9527/comments/commentRss/424258.htmlhttp://www.aygfsteel.com/wumi9527/services/trackbacks/424258.html在本章我们介l在serviceMIx 中图和?ActiveMQ、features命oQ入门的3文章来?br />
http://servicemix.apache.org/docs/5.0.x/quickstart/index.htmlQ有兴趣的可以再ȝ看英文的?/div>
ActiveMQ
    每个Apache ServiceMix的实?/span>是一?/span>嵌入?/span>activemq jms代理Q这样可以很方便的在同一台机器上使用持久消息来通信Q?/span>
但是它也支持集群和负载均衡?/span>
   在这个实例中Q我们依然像上个例子一P?个目录中Ud文gQ把记录日志的部分改为发送一条jms消息到消息队列,
然后再创Z个新的route来接受事件ƈ记录日志Q?/span>
?xml version="1.0" encoding="UTF-8"?>
<blueprint
    xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
      http://www.osgi.org/xmlns/blueprint/v1.0.0
      http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">

    <camelContext xmlns="http://camel.apache.org/schema/blueprint">
      <route>
        <from uri="file:activemq/input"/>
        <to uri="file:activemq/output"/>

        <setBody>
          <simple>
            FileMovedEvent(file: ${file:name}, timestamp: ${date:now:hh:MM:ss.SSS})
          </simple>
        </setBody>
        <to uri="activemq://events" />
      </route>
    </camelContext>
</blueprint>

   保存q个文gQƈ且放到serviceMix的deploy目录Q会看到复制?nbsp;activemq/input 目录中的文g被复制到 activemq/output 

   接受消息
   在第一个文件中Q除了复制文Ӟ你看不到M的log记录。它发送了jms消息Q但是没有接受者,我们可以创徏一个route来接受消息:

<?xml version="1.0" encoding="UTF-8"?>
<blueprint
    xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
      http://www.osgi.org/xmlns/blueprint/v1.0.0
      http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
    <camelContext xmlns="http://camel.apache.org/schema/blueprint">
      <route>
        <from uri="activemq://events"/>
        <to uri="log:events"/>
      </route>
    </camelContext>
</blueprint>

  你可以通过log:display来查看日志消息。你可以通过osgi:start ?osgi:stop来启动和关闭q个bundle.当你重启完第一个bundle后,你收到所有文件移动后发出
的消息事件?br />
    features命o

karaf@root> features:list | grep camel
[uninstalled] [5.4.0           ] examples-activiti-camel                 servicemix-examples-5.4.0
[uninstalled] [5.4.0           ] examples-akka-camel                     servicemix-examples-5.4.0


karaf@root> features:install webconsole

karaf@root> features:list | grep webconsole
[installed  ] [2.4.1           ] webconsole                              karaf-2
.4.1               Karaf WebConsole for administration and monitoring

    通过features:install webconsole可以安装  webconsole bundle,成功后你可以通过  http://localhost:8181/system/console  用户名密码:smx/smx?br />dQ可以通过览器来上传、启动,停止bundle?/span>



xiaolang 2015-04-10 15:37 发表评论
]]>serviceMiX入门?Routing with Camel)http://www.aygfsteel.com/wumi9527/archive/2015/04/09/424254.htmlxiaolangxiaolangThu, 09 Apr 2015 09:19:00 GMThttp://www.aygfsteel.com/wumi9527/archive/2015/04/09/424254.htmlhttp://www.aygfsteel.com/wumi9527/comments/424254.htmlhttp://www.aygfsteel.com/wumi9527/archive/2015/04/09/424254.html#Feedback0http://www.aygfsteel.com/wumi9527/comments/commentRss/424254.htmlhttp://www.aygfsteel.com/wumi9527/services/trackbacks/424254.html本章我们通过一个简单的实例来介l如何用camel?br />q个实例中,我们会把文g从目?/span>camel/input Ud?/span>camel/output.Z方便我们跟踪哪些文g被移动,我们会记录日志?br />
1、创Z个xml
?span style="font-family: Verdana, Arial, sans-serif; font-size: 12.8000001907349px; line-height: normal;"> ServiceMix中定义一个新?/span> routeQ最单的方式之一是定义一?/span>Blueprint XML fileQ就像下边一P

<?xml version="1.0" encoding="UTF-8"?>
<blueprint
    xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
      http://www.osgi.org/xmlns/blueprint/v1.0.0
      http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
    <camelContext xmlns="http://camel.apache.org/schema/blueprint">
      <route>
        <from uri="file:camel/input"/>
        <log message="Moving ${file:name} to the output directory"/>
        <to uri="file:camel/output"/>
      </route>
    </camelContext>
</blueprint>
                                           

2.部v
   我们只需要将W一步创建的xml复制到serviceMix下的 deploy 目录Q就会被serviceMix 识别q|Ӏ你会看到被攑ֈ目录camel/input下的文g?br />Ud?/span>camel/outputQ如果你使用log:display命oQ会看到文gUd的日志:

2015-04-09 17:10:19,515 | INFO  | le://camel/input | route1
      | ?                                   ? | 116 - org.apache.camel.camel-cor
e - 2.14.1 | Moving test.xml.bak to the output directory

3. 使用命o行管?nbsp; route
使用osgi:list,你会看到刚才我们部v的bundle
[ 221] [Active     ] [Created     ] [       ] [   80] test.xml (0.0.0)
你会看到我们刚才部v的bundle ID?21,我们可以通过q个bundle ID来启动或者关闭bundle

karaf@root> osgi:stop 221
karaf@root> osgi:start 221


xiaolang 2015-04-09 17:19 发表评论
]]>
serviceMiX入门一http://www.aygfsteel.com/wumi9527/archive/2015/04/09/424251.htmlxiaolangxiaolangThu, 09 Apr 2015 08:25:00 GMThttp://www.aygfsteel.com/wumi9527/archive/2015/04/09/424251.htmlhttp://www.aygfsteel.com/wumi9527/comments/424251.htmlhttp://www.aygfsteel.com/wumi9527/archive/2015/04/09/424251.html#Feedback1http://www.aygfsteel.com/wumi9527/comments/commentRss/424251.htmlhttp://www.aygfsteel.com/wumi9527/services/trackbacks/424251.html本章我们主要介绍下如何安?/span>serviceMiXQ用命令来查看osgi bundles、日志?br />
1、下?/span>serviceMiX5.4.0
http://servicemix.apache.org/downloads.html
C载页面选取Q?br /> tar,gz  for Linux/Unix/MacOS X
zip for windows

如果仅仅是运?/span>serviceMiXQ你需要jre1.6.x 或?nbsp;jre1.7.x  serviceMiX5.4.0大概需?00M的空?/span>
如果你要开发自q一些集成应用和osgi bundlesQ你q需要安? jdk1.6.x 或?nbsp;jdk1.7.x  apache maven3.0.4 或者更高的版本


2.解压Q指?/font><SERVICEMIX_HOME>.
解压Q在环境变量中配|?nbsp;<SERVICEMIX_HOME>.例如Q?/span>C:\apache-servicemix

3.启动serviceMiXQwindowsQ?br />
C:\Users\Administrator>cd c:\apache-servicemix\bin

c:\apache-servicemix\bin>servicemix
Please wait while Apache ServiceMix is starting...
 27% [===================>                                                    ]


4.启动成功

Please wait while Apache ServiceMix is starting...
100% [========================================================================]
 ____                  _          __  __ _
/ ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
 ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  <
|____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\
  Apache ServiceMix (5.4.0)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown ServiceMix.

5. 
使用命o osgi:list  osgi:list|grep camel 查看bundles 

karaf@root> osgi:list
START LEVEL 100 , List Threshold: 50
   ID   State         Blueprint      Spring    Level  Name
[  81] [Active     ] [            ] [       ] [   50] geronimo-annotation_1.0_spec (1.1.1)
[  82] [Active     ] [            ] [       ] [   50] geronimo-jms_1.1_spec (1.1.1)
[  83] [Active     ] [            ] [       ] [   50] geronimo-j2ee-management_1.1_spec (1.0.1)
[  84] [Active     ] [            ] [       ] [   50] JAXB2 Basics - Runtime (0.6.4)
[  85] [Active     ] [            ] [       ] [   50] Apache ServiceMix :: Bundles :: jaxb-impl (2.2.1.1_2)

karaf@root> osgi:list|grep camel
[ 116] [Active     ] [            ] [       ] [   50] camel-core (2.14.1)
[ 117] [Active     ] [Created     ] [       ] [   50] camel-karaf-commands (2.14.1)
[ 118] [Active     ] [            ] [       ] [   50] camel-jms (2.14.1)
[ 124] [Active     ] [            ] [       ] [   50] camel-spring (2.14.1)
[ 125] [Active     ] [Created     ] [       ] [   50] camel-blueprint (2.14.1)

6.
使用log:display查看日志Q其?nbsp;log:display-exception

karaf@root> log:display
2015-04-09 16:09:07,433 | INFO  | 0 - timer://wumi | timerToLog  | ?                                   ? | 116 - org.apache.camel.camel-cor
e - 2.14.1 | The message contains Hi from Camel at 2015-04-09 16:09:07


xiaolang 2015-04-09 16:25 发表评论
]]>
mysql客户端连接服务端~慢http://www.aygfsteel.com/wumi9527/archive/2015/04/01/424036.htmlxiaolangxiaolangWed, 01 Apr 2015 09:24:00 GMThttp://www.aygfsteel.com/wumi9527/archive/2015/04/01/424036.htmlhttp://www.aygfsteel.com/wumi9527/comments/424036.htmlhttp://www.aygfsteel.com/wumi9527/archive/2015/04/01/424036.html#Feedback0http://www.aygfsteel.com/wumi9527/comments/commentRss/424036.htmlhttp://www.aygfsteel.com/wumi9527/services/trackbacks/424036.html今天下午发现mysql客户端连接服务端~慢Qwindows 环境下,到目?MYSQL_HOME/my.ini 中加入:skip-name-resolveQ?span style="font-family: Tahoma, Helvetica, Arial, 宋体, sans-serif; line-height: 25.2000007629395px; background-color: #f7fcff;">然后保存q启mysql服务

问题解决?br />
查阅mysql官方|站得知Q这属于官方一个系l上的特D设定,把他当成mysql的一个bug了Q不链接的的方式是l过 hosts 或是 IP 的模式,他都会对 DNS
做反查。mysqld 会尝试去反查 IP -> dns Q由于反查解析过慢,׃无法应付q量的查询?/span>






xiaolang 2015-04-01 17:24 发表评论
]]>
Android 客户端资料(整理防丢Q?/title><link>http://www.aygfsteel.com/wumi9527/archive/2011/01/18/343127.html</link><dc:creator>xiaolang</dc:creator><author>xiaolang</author><pubDate>Tue, 18 Jan 2011 01:50:00 GMT</pubDate><guid>http://www.aygfsteel.com/wumi9527/archive/2011/01/18/343127.html</guid><wfw:comment>http://www.aygfsteel.com/wumi9527/comments/343127.html</wfw:comment><comments>http://www.aygfsteel.com/wumi9527/archive/2011/01/18/343127.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wumi9527/comments/commentRss/343127.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wumi9527/services/trackbacks/343127.html</trackback:ping><description><![CDATA[布局介绍Q?br /> http://penguin7.blog.51cto.com/966026/222075<br /> <br /> <br /> {֐介绍Q?br /> <br /> <div><a >http://blog.csdn.net/duandianGG/archive/2010/07/21/5752568.aspx</a></div> <img src ="http://www.aygfsteel.com/wumi9527/aggbug/343127.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wumi9527/" target="_blank">xiaolang</a> 2011-01-18 09:50 <a href="http://www.aygfsteel.com/wumi9527/archive/2011/01/18/343127.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>团队收款内侧Q有兴趣的可以向我烦取邀Lhttp://www.aygfsteel.com/wumi9527/archive/2011/01/07/342529.htmlxiaolangxiaolangFri, 07 Jan 2011 09:37:00 GMThttp://www.aygfsteel.com/wumi9527/archive/2011/01/07/342529.htmlhttp://www.aygfsteel.com/wumi9527/comments/342529.htmlhttp://www.aygfsteel.com/wumi9527/archive/2011/01/07/342529.html#Feedback0http://www.aygfsteel.com/wumi9527/comments/commentRss/342529.htmlhttp://www.aygfsteel.com/wumi9527/services/trackbacks/342529.html
2、体验一下“团体收䏀的各种功能Q不是不爽Q还是满意,都请您提交“用户反馈”:
Ø 可以试试创徏一个团体,拉你的好友成为团员;
Ø 可以在成功创建团体后Q试着发v各类zd收款Q?
Ø 您会l常在哪些活动中遇到和用一对多的团体收ƾ?
Ø 您n边用支付宝的好友多吗?
Ø 我们q个新生产品可以帮助您把团体zd收款变简单吗Q?
QQQ?908820222  阅读全文

xiaolang 2011-01-07 17:37 发表评论
]]>
pȝ内存泄露Q防丢)http://www.aygfsteel.com/wumi9527/archive/2011/01/06/342448.htmlxiaolangxiaolangThu, 06 Jan 2011 10:38:00 GMThttp://www.aygfsteel.com/wumi9527/archive/2011/01/06/342448.htmlhttp://www.aygfsteel.com/wumi9527/comments/342448.htmlhttp://www.aygfsteel.com/wumi9527/archive/2011/01/06/342448.html#Feedback0http://www.aygfsteel.com/wumi9527/comments/commentRss/342448.htmlhttp://www.aygfsteel.com/wumi9527/services/trackbacks/342448.html阅读全文

xiaolang 2011-01-06 18:38 发表评论
]]>
转蝲--最佳编码实践:搞砸代码?0U方?/title><link>http://www.aygfsteel.com/wumi9527/archive/2010/12/06/339877.html</link><dc:creator>xiaolang</dc:creator><author>xiaolang</author><pubDate>Mon, 06 Dec 2010 01:34:00 GMT</pubDate><guid>http://www.aygfsteel.com/wumi9527/archive/2010/12/06/339877.html</guid><wfw:comment>http://www.aygfsteel.com/wumi9527/comments/339877.html</wfw:comment><comments>http://www.aygfsteel.com/wumi9527/archive/2010/12/06/339877.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wumi9527/comments/commentRss/339877.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wumi9527/services/trackbacks/339877.html</trackback:ping><description><![CDATA[     摘要: 写代码是一个富有创意但又可能让人思想ȝ的Q务,不管你是否喜Ƣ你的工作,你M找一些捷径,但遗憄是,大部分捷径都q反了最佳编码实践原则,q些捷径要么会生BUGQ要么会D数据出错Q我的徏议是Q在~写VBA代码Ӟ不要走捷径。下面是一些常见的错误观念Q导致h们选择了错误的捷径Q虽然其中一部分只适用于VBA或某UIDEQ但大多数都是通用?nbsp; <a href='http://www.aygfsteel.com/wumi9527/archive/2010/12/06/339877.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wumi9527/aggbug/339877.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wumi9527/" target="_blank">xiaolang</a> 2010-12-06 09:34 <a href="http://www.aygfsteel.com/wumi9527/archive/2010/12/06/339877.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Jmock使用结http://www.aygfsteel.com/wumi9527/archive/2010/09/29/333350.htmlxiaolangxiaolangWed, 29 Sep 2010 05:27:00 GMThttp://www.aygfsteel.com/wumi9527/archive/2010/09/29/333350.htmlhttp://www.aygfsteel.com/wumi9527/comments/333350.htmlhttp://www.aygfsteel.com/wumi9527/archive/2010/09/29/333350.html#Feedback0http://www.aygfsteel.com/wumi9527/comments/commentRss/333350.htmlhttp://www.aygfsteel.com/wumi9527/services/trackbacks/333350.html  阅读全文

xiaolang 2010-09-29 13:27 发表评论
]]>
threadLocal--单本地缓?/title><link>http://www.aygfsteel.com/wumi9527/archive/2010/09/10/331654.html</link><dc:creator>xiaolang</dc:creator><author>xiaolang</author><pubDate>Fri, 10 Sep 2010 05:44:00 GMT</pubDate><guid>http://www.aygfsteel.com/wumi9527/archive/2010/09/10/331654.html</guid><wfw:comment>http://www.aygfsteel.com/wumi9527/comments/331654.html</wfw:comment><comments>http://www.aygfsteel.com/wumi9527/archive/2010/09/10/331654.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wumi9527/comments/commentRss/331654.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wumi9527/services/trackbacks/331654.html</trackback:ping><description><![CDATA[     摘要: 使用threadLoca做一个简单的本地~存l  <a href='http://www.aygfsteel.com/wumi9527/archive/2010/09/10/331654.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wumi9527/aggbug/331654.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wumi9527/" target="_blank">xiaolang</a> 2010-09-10 13:44 <a href="http://www.aygfsteel.com/wumi9527/archive/2010/09/10/331654.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank">̫</a>| <a href="http://" target="_blank">½</a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank">°Ͷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ȳ</a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">е</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ٷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ű</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">뽭</a>| <a href="http://" target="_blank">ׯ</a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ҷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">齭</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʯ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>